Revert "fix(router): ensure routerLinkActive updates when associated routerLinks change (#38349)" (#38511)

This reverts commit e0e5c9f195.
Failures in Google tests were detected.

PR Close #38511
This commit is contained in:
Andrew Scott
2020-08-18 07:56:58 -07:00
parent 723a9ff095
commit bee44b3359
4 changed files with 15 additions and 93 deletions

View File

@ -378,7 +378,7 @@ export declare class RouterEvent {
url: string);
}
export declare class RouterLink implements OnChanges {
export declare class RouterLink {
fragment: string;
preserveFragment: boolean;
/** @deprecated */ set preserveQueryParams(value: boolean);
@ -394,7 +394,6 @@ export declare class RouterLink implements OnChanges {
};
get urlTree(): UrlTree;
constructor(router: Router, route: ActivatedRoute, tabIndex: string, renderer: Renderer2, el: ElementRef);
ngOnChanges(changes: SimpleChanges): void;
onClick(): boolean;
}
@ -430,7 +429,7 @@ export declare class RouterLinkWithHref implements OnChanges, OnDestroy {
target: string;
get urlTree(): UrlTree;
constructor(router: Router, route: ActivatedRoute, locationStrategy: LocationStrategy);
ngOnChanges(changes: SimpleChanges): any;
ngOnChanges(changes: {}): any;
ngOnDestroy(): any;
onClick(button: number, ctrlKey: boolean, metaKey: boolean, shiftKey: boolean): boolean;
}