generated from JS-DevTools/template-node-typescript
-
Notifications
You must be signed in to change notification settings - Fork 75
/
tsconfig.json
36 lines (32 loc) · 932 Bytes
/
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
{
"compilerOptions": {
// target Node v16 / ES2021
"target": "es2021",
"module": "commonjs",
"moduleResolution": "node",
"resolveJsonModule": true,
// Interoperability with CommonJS modules
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
// Do not error out for errors in third-party modules
"skipLibCheck": true,
// Type-checking options
"strict": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
// inputs and outputs
"declaration": true,
"sourceMap": true,
"rootDir": "src",
"outDir": "lib"
},
"include": ["src/**/*.ts"]
}