This is the archived documentation for Angular v6. Please visit angular.io to see documentation for the current version of Angular.

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; } | { provide: I...;
      
      const WORKER_APP_LOCATION_PROVIDERS: ({ provide: typeof PlatformLocation; useClass: typeof WebWorkerPlatformLocation; } | { provide: I...;