-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathtsconfig.json
More file actions
39 lines (33 loc) · 1.07 KB
/
tsconfig.json
File metadata and controls
39 lines (33 loc) · 1.07 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
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
"baseUrl": "./src",
"target": "es2017",
"lib": ["es2017"],
"outDir": "./dist",
// Enable decorators and metadata generation.
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
// 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,
"noUnusedLocals": true,
"noUnusedParameters": true,
"preserveConstEnums": true,
"strictNullChecks": true,
}
}