-
Notifications
You must be signed in to change notification settings - Fork 402
/
tsconfig.json
32 lines (32 loc) · 1.08 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
{
"compilerOptions": {
/* Needed to import CJS modules like Jest */
"allowSyntheticDefaultImports": true,
/* Emit additional JS to ease support for importing CJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */
"esModuleInterop": true,
/* Use ESM by default instead of CJS*/
"module": "ES2022",
/* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"target": "es2022",
"moduleResolution": "Node",
"sourceMap": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
"strict": true,
"allowUnreachableCode": false,
"exactOptionalPropertyTypes": false,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": false, // causes hard failures when iterating in dev, enforce with instead
"noUnusedParameters": false
},
"ts-node": {
"swc": true
},
"exclude": [
"node_modules"
]
}