build: upgrade to TypeScript 2.7 (#22669)

Fixes: #21571

PR Close #22669
This commit is contained in:
Chuck Jazdzewski
2018-02-08 08:59:25 -08:00
committed by Kara Erickson
parent a225b48482
commit 8449eb8d62
30 changed files with 222 additions and 162 deletions

View File

@ -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 */

View File

@ -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)[];
};