-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
39 lines (32 loc) · 1.02 KB
/
tsconfig.json
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
35
36
37
38
39
{
"compilerOptions": {
// Can be overwritten for web projects in a local tsconfig.json
"module": "commonjs",
"moduleResolution": "node",
// Common typescript transpilation options
"target": "es2017",
"lib": ["es2017"],
"outDir": "./dist",
// Use `tslib` for helper methods
"importHelpers": true,
// Never emit code with errors.
"noEmitOnError": true,
// Source maps are useful when tracing running code
"sourceMap": true,
// These values should not be modified on a per-project basis, they enforce quality.
"allowSyntheticDefaultImports": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"preserveConstEnums": true,
"strictNullChecks": true,
"baseUrl": "./src",
"noUnusedLocals": false,
"noUnusedParameters": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true
}
}