-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
tsconfig.json
40 lines (35 loc) · 1.11 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
{
"exclude": ["./docs", "./packages/*/dist", "./packages/*/bin"],
"compilerOptions": {
/* Distribution Options */
// "target": "ES2019", // Override by inheritance
"sourceMap": true,
"jsx": "react-jsx",
/* Module Options */
"module": "Node16",
"resolveJsonModule": true,
"isolatedModules": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
/* Additional Language Features */
/* Strict Type-Checking Options */
"strict": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"skipLibCheck": true,
"checkJs": true,
// Compatible for Node.js v16 (ref: https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping)
"target": "ES2021",
"lib": ["ES2021"],
"noEmit": true,
// Vitest global types
"types": ["vitest/globals"]
}
}