fix(router): make locationSyncBootstrapListener public due to change in output after TS 2.7 update in #22669 (#22896)
PR Close #22896
This commit is contained in:
parent
17fb9832f4
commit
623d769858
|
@ -38,7 +38,7 @@ import {UpgradeModule} from '@angular/upgrade/static';
|
|||
export const RouterUpgradeInitializer = {
|
||||
provide: APP_BOOTSTRAP_LISTENER,
|
||||
multi: true,
|
||||
useFactory: locationSyncBootstrapListener,
|
||||
useFactory: locationSyncBootstrapListener as(ngUpgrade: UpgradeModule) => () => void,
|
||||
deps: [UpgradeModule]
|
||||
};
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
export declare const RouterUpgradeInitializer: {
|
||||
provide: InjectionToken<((compRef: ComponentRef<any>) => void)[]>;
|
||||
multi: boolean;
|
||||
useFactory: typeof locationSyncBootstrapListener;
|
||||
useFactory: (ngUpgrade: UpgradeModule) => () => void;
|
||||
deps: (typeof UpgradeModule)[];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue