build: upgrade to TypeScript 2.7 (#22669)
Fixes: #21571 PR Close #22669
This commit is contained in:

committed by
Kara Erickson

parent
a225b48482
commit
8449eb8d62
@ -85,15 +85,21 @@ export declare const VERSION: Version;
|
||||
export declare const WORKER_APP_LOCATION_PROVIDERS: ({
|
||||
provide: typeof PlatformLocation;
|
||||
useClass: typeof WebWorkerPlatformLocation;
|
||||
useFactory?: undefined;
|
||||
multi?: undefined;
|
||||
deps?: undefined;
|
||||
} | {
|
||||
provide: InjectionToken<(() => void)[]>;
|
||||
useFactory: (platformLocation: WebWorkerPlatformLocation, zone: NgZone) => () => Promise<boolean>;
|
||||
useFactory: typeof appInitFnFactory;
|
||||
multi: boolean;
|
||||
deps: (typeof NgZone | typeof PlatformLocation)[];
|
||||
useClass?: undefined;
|
||||
} | {
|
||||
provide: InjectionToken<Promise<any>>;
|
||||
useFactory: (platformLocation: WebWorkerPlatformLocation) => Promise<any>;
|
||||
useFactory: typeof locationInitialized;
|
||||
deps: (typeof PlatformLocation)[];
|
||||
useClass?: undefined;
|
||||
multi?: undefined;
|
||||
})[];
|
||||
|
||||
/** @experimental */
|
||||
|
2
tools/public_api_guard/router/upgrade.d.ts
vendored
2
tools/public_api_guard/router/upgrade.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
export declare const RouterUpgradeInitializer: {
|
||||
provide: InjectionToken<((compRef: ComponentRef<any>) => void)[]>;
|
||||
multi: boolean;
|
||||
useFactory: (ngUpgrade: UpgradeModule) => () => void;
|
||||
useFactory: typeof locationSyncBootstrapListener;
|
||||
deps: (typeof UpgradeModule)[];
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user