-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
34 lines (34 loc) · 1.22 KB
/
tsconfig.json
File metadata and controls
34 lines (34 loc) · 1.22 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
29
30
31
32
33
34
{
"compilerOptions": {
"outDir": "dist/", // target for compiled files
"allowSyntheticDefaultImports": true, // no errors on commonjs default import
"resolveJsonModule": true,
"esModuleInterop": true,
"strictBindCallApply": true,
"allowJs": false, // include js files
"checkJs": false, // typecheck js files
"declaration": false, // don't emit declarations
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"importHelpers": true, // importing helper functions from tslib
"noEmitHelpers": true, // disable emitting inline helper functions
"lib": ["ES2020"], // enabled features up until and including ["version"]
"target": "ES2020", // compiler target
"module": "CommonJS", // "es2015" for tree-shaking
"moduleResolution": "node",
"noUnusedLocals": true,
"noUnusedParameters": true,
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"strictNullChecks": true,
"pretty": true,
"removeComments": true,
"sourceMap": false
},
"include": ["src/**/*"],
"exclude": ["dist", "deploy", "node_modules"]
}