-
Notifications
You must be signed in to change notification settings - Fork 6
/
tsconfig.json
64 lines (64 loc) · 1.94 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"compilerOptions": {
"module": "esnext",
"noEmit": true,
"noEmitOnError": false,
"declaration": false,
"declarationMap": false,
"moduleResolution": "node",
"target": "es2017",
"lib": [
"esnext",
],
"resolveJsonModule": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
// https://www.typescriptlang.org/tsconfig#strict
"strict": true,
"strictNullChecks": false,
"noImplicitAny": false,
"strictFunctionTypes": false,
"noUnusedLocals": true,
"skipLibCheck": true,
"sourceMap": false,
"allowJs": true,
// https://www.typescriptlang.org/tsconfig#composite
"composite": false,
// https://www.typescriptlang.org/tsconfig#incremental
"incremental": false,
// https://www.typescriptlang.org/tsconfig#preserveWatchOutput
"preserveWatchOutput": true,
// https://www.typescriptlang.org/tsconfig#esModuleInterop
"esModuleInterop": true,
// https://www.typescriptlang.org/tsconfig#allowSyntheticDefaultImports
"allowSyntheticDefaultImports": true,
// https://www.typescriptlang.org/tsconfig#isolatedModules
"isolatedModules": true,
/**
* https://www.typescriptlang.org/tsconfig#useDefineForClassFields
* https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#the-usedefineforclassfields-flag-and-the-declare-property-modifier
*/
"useDefineForClassFields": false,
// https://www.typescriptlang.org/tsconfig#downlevelIteration
"downlevelIteration": true,
"forceConsistentCasingInFileNames": true,
},
"include": [
"src",
],
"exclude": [
"dist",
],
/**
* these options are overrides used only by ts-node
* https://github.com/TypeStrong/ts-node
*/
"ts-node": {
// It is faster to skip typechecking.
// Remove if you want ts-node to do typechecking.
"transpileOnly": true,
"compilerOptions": {
"module": "commonjs",
},
}
}