build: remove worker types from global
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/888/head
parent
545088de1c
commit
c57b9ede34
|
@ -1,3 +1,5 @@
|
||||||
|
/// <reference path='../../../node_modules/typescript/lib/lib.webworker.d.ts' />
|
||||||
|
|
||||||
import { CacheExpiration } from 'workbox-expiration';
|
import { CacheExpiration } from 'workbox-expiration';
|
||||||
import { workerExport } from '../../worker';
|
import { workerExport } from '../../worker';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
/// <reference path='../../../node_modules/typescript/lib/lib.webworker.d.ts' />
|
||||||
|
|
||||||
import { precacheAndRoute, cleanupOutdatedCaches } from 'workbox-precaching';
|
import { precacheAndRoute, cleanupOutdatedCaches } from 'workbox-precaching';
|
||||||
import { NetworkFirst, CacheFirst } from 'workbox-strategies';
|
import { NetworkFirst, CacheFirst } from 'workbox-strategies';
|
||||||
import { registerRoute } from 'workbox-routing';
|
import { registerRoute } from 'workbox-routing';
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"lib": [
|
"lib": [
|
||||||
"dom",
|
"dom",
|
||||||
"WebWorker",
|
|
||||||
"es2017"
|
"es2017"
|
||||||
],
|
],
|
||||||
"target": "ES2017",
|
"target": "ES2017",
|
||||||
|
|
Loading…
Reference in New Issue