-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
tsconfig.json
32 lines (32 loc) · 861 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
{
"compilerOptions": {
"baseUrl": ".",
"target": "ES2020",
"module": "CommonJS",
"lib": ["ES2020"], // support minimum node 14 lts
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"outDir": "./dist",
"strict": true,
"esModuleInterop": true,
"noImplicitAny": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"incremental": false,
"moduleResolution": "node",
"allowJs": false,
"removeComments": false, // keep false, we want to have docs in dist
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"noUnusedLocals": false,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"paths": {
"@/*": ["src/*"]
},
"types": ["vitest/globals"]
},
"include": ["src/"]
}