mirror of
https://github.com/ImSingee/hammal.git
synced 2024-11-25 13:59:22 +08:00
5 lines
180 B
TypeScript
5 lines
180 B
TypeScript
|
// set up global namespace for worker environment
|
||
|
import * as makeServiceWorkerEnv from 'service-worker-mock'
|
||
|
declare var global: any
|
||
|
Object.assign(global, makeServiceWorkerEnv())
|