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 1a92e3d406
commit e8ea741039
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;
}