angular-cn/tools/public_api_guard/router/upgrade.d.ts

14 lines
460 B
TypeScript

/** @experimental */
export declare const RouterUpgradeInitializer: {
provide: InjectionToken<((compRef: ComponentRef<any>) => void)[]>;
multi: boolean;
useFactory: (ngUpgrade: UpgradeModule) => () => void;
deps: (typeof UpgradeModule)[];
};
/** @experimental */
export declare function setUpLocationSync(ngUpgrade: UpgradeModule): void;
/** @experimental */
export declare function setUpRouterSync(injector: Injector, $injector: any): void;