fix(router): routerLinkActive should not throw when not initialized (#13273)
Fixes #13270 PR Close #13273
This commit is contained in:

committed by
Miško Hevery

parent
1a92e3d406
commit
e8ea741039
2
tools/public_api_guard/router/index.d.ts
vendored
2
tools/public_api_guard/router/index.d.ts
vendored
@ -264,7 +264,7 @@ export declare class RouterLinkActive implements OnChanges, OnDestroy, AfterCont
|
||||
};
|
||||
constructor(router: Router, element: ElementRef, renderer: Renderer, cdr: ChangeDetectorRef);
|
||||
ngAfterContentInit(): void;
|
||||
ngOnChanges(changes: {}): void;
|
||||
ngOnChanges(changes: SimpleChanges): void;
|
||||
ngOnDestroy(): void;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user