File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
tools/public_api_guard/cdk Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ import {
17
17
ElementRef ,
18
18
HostBinding ,
19
19
Input ,
20
- isDevMode ,
21
20
IterableChangeRecord ,
22
21
IterableDiffer ,
23
22
IterableDiffers ,
@@ -397,7 +396,7 @@ function getParentNodeAriaLevel(nodeElement: HTMLElement): number {
397
396
parent = parent . parentElement ;
398
397
}
399
398
if ( ! parent ) {
400
- if ( isDevMode ( ) ) {
399
+ if ( typeof ngDevMode === 'undefined' || ngDevMode ) {
401
400
throw Error ( 'Incorrect tree structure containing detached node.' ) ;
402
401
} else {
403
402
return - 1 ;
Original file line number Diff line number Diff line change @@ -24,8 +24,6 @@ export declare class CdkNestedTreeNode<T> extends CdkTreeNode<T> implements Afte
24
24
protected _children : T [ ] ;
25
25
protected _differs : IterableDiffers ;
26
26
protected _elementRef : ElementRef < HTMLElement > ;
27
- _expanded : boolean ;
28
- _role : "treeitem" | "group" ;
29
27
protected _tree : CdkTree < T > ;
30
28
nodeOutlet : QueryList < CdkTreeNodeOutlet > ;
31
29
constructor ( _elementRef : ElementRef < HTMLElement > , _tree : CdkTree < T > , _differs : IterableDiffers ) ;
You can’t perform that action at this time.
0 commit comments