-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
39 lines (39 loc) · 1.35 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
{
"compilerOptions": {
"lib": ["DOM", "ES2022"],
"target": "ES2021",
"moduleResolution": "node",
"useDefineForClassFields": true, // Not enabled by default in `strict` mode unless we bump `target` to ES2022.
"noFallthroughCasesInSwitch": true, // Not enabled by default in `strict` mode.
"noImplicitReturns": true, // Not enabled by default in `strict` mode.
"useUnknownInCatchVariables": true, // Not enabled by default in `strict` mode.
"noImplicitOverride": true, // Not enabled by default in `strict` mode.
"noUnusedLocals": true, // Not enabled by default in `strict` mode.
"noUnusedParameters": true, // Not enabled by default in `strict` mode.
"noUncheckedIndexedAccess": true, // Not enabled by default in `strict` mode.
"resolveJsonModule": true,
"esModuleInterop": true,
"strict": true,
"strictNullChecks": true,
// Skip type checking for node modules
"skipLibCheck": true,
"baseUrl": ".",
"paths": {
"@command": ["command"],
"@configs": ["configs"],
"@contracts": ["contracts"],
"@scripts": ["scripts"],
"@utils": ["utils"],
"@abi": ["abi"],
"@providers": ["providers"]
},
"outDir": "dist",
"sourceMap": true,
"rootDir": ".",
"module": "CommonJS"
},
"ts-node": {
"swc": true,
"require": ["tsconfig-paths/register"]
}
}