fix(router): routerLinkActive should not throw when not initialized (#13273)

Fixes #13270

PR Close #13273
This commit is contained in:
Dzmitry Shylovich
2016-12-07 03:22:38 +03:00
committed by Miško Hevery
parent b8b6b1d27a
commit 49c4b0fa92
3 changed files with 29 additions and 20 deletions

View File

@ -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;
}