refactor: simplify arrow functions (#12057)
This commit is contained in:

committed by
Chuck Jazdzewski

parent
a63359689f
commit
50c37d45dc
@ -28,5 +28,5 @@ export const WORKER_APP_LOCATION_PROVIDERS = [
|
||||
|
||||
function appInitFnFactory(platformLocation: WebWorkerPlatformLocation, zone: NgZone): () =>
|
||||
Promise<boolean> {
|
||||
return () => { return zone.runGuarded(() => platformLocation.init()); };
|
||||
return () => zone.runGuarded(() => platformLocation.init());
|
||||
}
|
||||
|
Reference in New Issue
Block a user