-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
44 lines (35 loc) · 1 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": {
"module": "Node16",
"moduleResolution": "Node16",
"target": "ES2022",
"strict": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"alwaysStrict": false,
"declaration": false,
"downlevelIteration": true,
"importHelpers": false, // strongly ensure no tslib dependency
"inlineSources": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"preserveWatchOutput": true,
"pretty": true,
"resolveJsonModule": true,
// https://github.com/microsoft/TypeScript/issues/50175#issuecomment-1204986989
// "skipLibCheck": true,
"sourceMap": true,
"strictBindCallApply": false,
"types": ["node", "vite/client"],
"allowJs": true, // for importing configs in tests
"lib": ["ES2021"],
"paths": {
"@~/*": ["./src/*"],
"@test/*": ["./test/*"]
}
}
}