-
Notifications
You must be signed in to change notification settings - Fork 9
/
tsconfig.json
44 lines (44 loc) · 1.05 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
{
"compilerOptions": {
"target": "ES2020",
"module": "node16",
"moduleResolution": "node16",
"moduleDetection": "force",
"rootDir": "src",
"lib": [
"es2019",
"es2020",
"es2021",
"es2022"
],
"strict": true,
"allowSyntheticDefaultImports": true, // To provide backwards compatibility, Node.js allows you to import most CommonJS packages with a default import. This flag tells TypeScript that it's okay to use import on CommonJS modules,
"noUnusedLocals": true,
"esModuleInterop": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"removeComments": true,
"composite": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"outDir": "dist",
"resolveJsonModule": true,
"skipLibCheck": true,
"types": [
"node",
]
},
"incude": ["./src/**/*.ts"],
"exclude": [
"node_modules",
"dist",
"**/*.test.ts",
"**/*.spec.ts"
],
"ts-node": {
"transpileOnly": true,
"files": true,
}
}