Skip to content

Commit

Permalink
Removed unnecessary TypeScript options
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Mar 2, 2020
1 parent 14dff1e commit a531bf7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/worker/index.ts
Expand Up @@ -197,3 +197,11 @@ export class IFrameWorker implements Worker {
}
}
}

/* ----------------------------------------------------------------------------
* Polyfill
* ------------------------------------------------------------------------- */

/* istanbul ignore next */
if (location.protocol === "file:")
window.Worker = IFrameWorker
1 change: 0 additions & 1 deletion tsconfig.json
Expand Up @@ -5,7 +5,6 @@
"declaration": true,
"declarationDir": "dist",
"declarationMap": true,
"esModuleInterop": true,
"lib": [
"dom"
],
Expand Down

0 comments on commit a531bf7

Please sign in to comment.