-
Notifications
You must be signed in to change notification settings - Fork 297
Expand file tree
/
Copy pathtsconfig.json
More file actions
28 lines (28 loc) · 1.11 KB
/
Copy pathtsconfig.json
File metadata and controls
28 lines (28 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"compilerOptions": {
"outDir": "./dist/",
"allowSyntheticDefaultImports": true,
"allowJs": true,
"sourceMap": true,
"module": "es6",
"target": "es5",
// TypeScript 6 deprecates target: es5 and errors without this acknowledgement.
// The vendored webworkify shim rebuilds worker source from
// Function.prototype.toString(), so the output must stay ES5 for now.
"ignoreDeprecations": "6.0",
"experimentalDecorators": true,
"strict": true,
"declaration": true,
// d.ts/mpegts.d.ts is the hand-written public API surface (the "types" entry
// in package.json) and is NOT generated. Emit generated declarations into
// d.ts/src/ so that file lies outside declarationDir and cannot be
// overwritten, whatever the input set or inferred root happens to be.
"declarationDir": "./d.ts/src/",
"rootDir": "./src",
"types": ["node"],
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "ESNext", "WebWorker"]
},
"include": [
"./src/**/*",
]
}