-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathtsconfig.json
More file actions
44 lines (44 loc) · 1.17 KB
/
tsconfig.json
File metadata and controls
44 lines (44 loc) · 1.17 KB
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": {
"target": "ES2022",
"lib": [
"ES2022",
// ES2024.Promise for the Promise.withResolvers().
"ES2024.Promise",
"ESNext.Disposable"
],
"sourceMap": true,
"declaration": true,
"declarationMap": true,
"rewriteRelativeImportExtensions": true,
"types": ["node"],
"esModuleInterop": false,
// As strict as possible
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"useUnknownInCatchVariables": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"exactOptionalPropertyTypes": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
"verbatimModuleSyntax": true,
// We're building with modern Node.js resolution for Node.js 20+
"moduleResolution": "NodeNext",
"module": "NodeNext",
// Better error reporting
"pretty": true
},
"exclude": ["node_modules"]
}