-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtsconfig.json
60 lines (56 loc) · 1.58 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
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Node 16",
"extends": "ts-node/node16/tsconfig.json",
"compilerOptions": {
// "esModuleInterop": true,
// "skipLibCheck": true,
"lib": ["ES2015"],
"module": "CommonJS",
"target": "ES2015",
"moduleResolution": "node",
"types": ["node"],
// "baseUrl": "./",
"noEmit": true,
"inlineSourceMap": true,
"strict": true,
"strictNullChecks": true,
"noImplicitAny": true,
"noEmitOnError": true,
"alwaysStrict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"removeComments": true,
"preserveConstEnums": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"strictBindCallApply": true,
"strictFunctionTypes": true,
"strictPropertyInitialization": true,
"useUnknownInCatchVariables": true,
"resolveJsonModule": true,
"disableSizeLimit": true,
"checkJs": true,
"allowJs": true,
"forceConsistentCasingInFileNames": true
},
"include": ["src", "test", "scripts"],
"exclude": ["lib"],
"ts-node": {
// It is faster to skip typechecking.
// Remove if you want ts-node to do typechecking.
"transpileOnly": true,
"files": true,
"compilerOptions": {
// compilerOptions specified here will override those declared below,
// but *only* in ts-node. Useful if you want ts-node and tsc to use
// different options with a single tsconfig.json.
}
}
}