Skip to content

Instantly share code, notes, and snippets.

@mikehibm
Created March 8, 2019 00:19
Show Gist options
  • Save mikehibm/4430273996b9bc79da600dae8d41295f to your computer and use it in GitHub Desktop.
Save mikehibm/4430273996b9bc79da600dae8d41295f to your computer and use it in GitHub Desktop.
TypeScript config for WebWorker
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "esnext", "webworker"],
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": true,
"listEmittedFiles": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "none",
"alwaysStrict": false,
"strictFunctionTypes": false,
"strictPropertyInitialization": false,
"downlevelIteration": true,
"removeComments": true,
"outDir": "public"
},
"include": ["src/players/*.worker.ts", "src/reversi.worker.ts"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment