From Get docs
< @angular/platform-webworkerAngular/docs/8/api/platform-webworker/worker app location providers


const deprecated

The PlatformLocation providers that should be added when the Location is used in a worker context.

Deprecated: platform-webworker is deprecated in Angular and will be removed in version 10

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<...>; multi: boolean; deps: (typeof Pla...;

© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.