mirror of
https://github.com/ImSingee/hammal.git
synced 2024-12-23 03:29: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())
|