fix(router): do not finish bootstrap until all the routes are resolved (#14608)

Fixes #12162
closes #14155
This commit is contained in:
Victor Berchet
2017-02-20 18:37:38 -08:00
committed by GitHub
parent c2e0f71a78
commit 2a191cae2d
12 changed files with 304 additions and 154 deletions

View File

@ -93,6 +93,10 @@ export declare const WORKER_APP_LOCATION_PROVIDERS: ({
useFactory: (platformLocation: WebWorkerPlatformLocation, zone: NgZone) => () => Promise<boolean>;
multi: boolean;
deps: (typeof NgZone | typeof PlatformLocation)[];
} | {
provide: InjectionToken<Promise<any>>;
useFactory: (platformLocation: WebWorkerPlatformLocation) => Promise<any>;
deps: typeof PlatformLocation[];
})[];
/** @experimental */