-
Notifications
You must be signed in to change notification settings - Fork 308
/
tsconfig.json
34 lines (31 loc) · 859 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
33
34
{
"extends": [
"@tsconfig/strictest/tsconfig.json",
"@tsconfig/node20/tsconfig.json"
],
"compilerOptions": {
"lib": ["DOM", "DOM.Iterable", "ES2023"],
// Use ESM
"module": "NodeNext",
"moduleResolution": "nodenext",
// TODO enable, leads to lots of errors currently.
"exactOptionalPropertyTypes": false,
// We handle these with ESLint:
"noUnusedLocals": false,
"noUnusedParameters": false,
// DX
"sourceMap": true,
"declaration": true,
"declarationMap": true,
"incremental": true,
"tsBuildInfoFile": "node_modules/.cache/.tsbuildinfo",
"noErrorTruncation": true,
// Other
"skipLibCheck": true,
"esModuleInterop": true,
"isolatedModules": false,
"verbatimModuleSyntax": true
},
"include": ["src", "tests", "examples", "scripts"],
"exclude": ["build"]
}