-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
69 lines (61 loc) · 1.93 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
65
66
67
68
69
/**
* Intro to the TSConfig Reference:
* https://www.typescriptlang.org/tsconfig
*/
{
"compilerOptions": {
/**
* ES Module support
*/
"target": "esnext",
// ES Modules: https://www.typescriptlang.org/tsconfig#module
// https://devblogs.microsoft.com/typescript/announcing-typescript-4-5-beta/#esm-nodejs
// "module": "nodenext",
"module": "esnext",
// https://www.typescriptlang.org/tsconfig#moduleResolution
// "moduleResolution": "nodenext",
"moduleResolution": "node",
/**
* Type import/export checkings
*/
// https://devblogs.microsoft.com/typescript/announcing-typescript-3-8/#type-only-imports-exports
"importsNotUsedAsValues": "error",
// https://www.typescriptlang.org/tsconfig#isolatedModules
"isolatedModules": true,
/**
* Other settings
*/
"traceResolution" : false,
"noLib" : false,
"resolveJsonModule" : false,
"declaration" : true,
"declarationMap" : true,
"sourceMap" : true,
"skipLibCheck" : true,
"esModuleInterop" : true,
"emitDecoratorMetadata" : true,
"experimentalDecorators" : true,
"lib": [
"esnext",
],
"strict" : true,
"noEmitOnError" : true,
"noUnusedLocals" : true,
"noImplicitReturns" : true,
"noImplicitOverride" : true,
"noUncheckedIndexedAccess" : true,
"noPropertyAccessFromIndexSignature": true,
"noFallthroughCasesInSwitch" : true,
"strictNullChecks" : true,
"noImplicitAny" : true,
"noUnusedParameters" : true,
"noImplicitThis" : true,
"forceConsistentCasingInFileNames": true,
},
"ts-node": {
// It is faster to skip typechecking.
// Remove if you want ts-node to do typechecking.
"transpileOnly": true,
"transpiler": "ts-node/transpilers/swc-experimental",
},
}