-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
43 lines (43 loc) · 1.07 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
{
// Default is to type check non-src files and let ts-node transpile
"include": ["*.config.*", "test/"],
"exclude": ["**/dist/"],
"references": [
{
"path": "src"
}
],
"compilerOptions": {
// Language and Environment
"target": "ES2021",
// Modules
"module": "Node16",
"resolveJsonModule": true,
"rootDir": ".",
// Emit/Project (only type check with cache)
"noEmit": true,
"incremental": true,
"outDir": "node_modules/.cache/typescript",
// JavaScript Support
"allowJs": true,
// Interop Constraints
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
// Type Checking
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"exactOptionalPropertyTypes": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
// Completeness
"skipLibCheck": true
},
"ts-node": {
"esm": true,
"transpileOnly": true
}
}