Help Angular by taking a 1 minute survey!Go to surveyHome

WORKER_APP_LOCATION_PROVIDERS

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

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...;
      
      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...;