Skip to content

Commit 3bd68ee

Browse files
BobobUnicornandrewseguin
authored andcommitted
feat(cdk/tree): fix lint errors
1 parent 84cadc9 commit 3bd68ee

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/cdk/tree/tree.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,12 @@ import {CdkTreeNodeDef, CdkTreeNodeOutletContext} from './node';
4141
import {CdkTreeNodeOutlet} from './outlet';
4242
import {
4343
getMultipleTreeControlsError,
44-
getTreeControlFunctionsMissingError,
4544
getTreeControlMissingError,
4645
getTreeMissingMatchingNodeDefError,
4746
getTreeMultipleDefaultNodeDefsError,
4847
getTreeNoValidDataSourceError,
4948
} from './tree-errors';
50-
import {BooleanInput, coerceNumberProperty} from '@angular/cdk/coercion';
49+
import {coerceNumberProperty} from '@angular/cdk/coercion';
5150

5251
/**
5352
* CDK tree component that connects with a data source to retrieve data of type `T` and renders
@@ -160,8 +159,12 @@ export class CdkTree<T, K = T> implements AfterContentChecked, CollectionViewer,
160159
end: Number.MAX_VALUE,
161160
});
162161

162+
// TODO(cassc): will be used in a future PR
163+
// tslint:disable-next-line:no-unused-variable
163164
private _expansionModel?: SelectionModel<K>;
164165
/** Maintain a synchronous cache of the currently known data nodes. */
166+
// TODO(cassc): will be used in a future PR
167+
// tslint:disable-next-line:no-unused-variable
165168
private _dataNodes?: readonly T[];
166169

167170
constructor(private _differs: IterableDiffers, private _changeDetectorRef: ChangeDetectorRef) {}
@@ -381,7 +384,8 @@ export class CdkTree<T, K = T> implements AfterContentChecked, CollectionViewer,
381384
}
382385

383386
/**
384-
* Expand the data node and all its descendants. If they are already expanded, does nothing. */
387+
* Expand the data node and all its descendants. If they are already expanded, does nothing.
388+
*/
385389
expandDescendants(dataNode: T): void {
386390
throw new Error('not implemented');
387391
}
@@ -519,8 +523,6 @@ export class CdkTreeNode<T, K = T> implements FocusableOption, OnDestroy, OnInit
519523
protected _setRoleFromData(): void {
520524
this.role = 'treeitem';
521525
}
522-
523-
static ngAcceptInputType_recursive: BooleanInput;
524526
}
525527

526528
function getParentNodeAriaLevel(nodeElement: HTMLElement): number {

0 commit comments

Comments
 (0)