-
Notifications
You must be signed in to change notification settings - Fork 209
/
tsconfig.json
33 lines (33 loc) · 1.02 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
{
"compilerOptions": {
/* Language and Environment */
// We only support node 18+, but v16 still works. We'll target v16 until it becomes a burden.
// For recommended settings for each node version, see https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping
"target": "ES2021",
"lib": ["ES2021"],
/* Modules */
"module": "Node16",
"rootDir": "./lib/",
/* Emit */
"declaration": true,
"outDir": "./dist/",
"importsNotUsedAsValues": "error",
/* Interop Constraints */
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
/* Type Checking */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
/* Compatibility */
"ignoreDeprecations": "5.0"
},
"include": ["lib"],
"exclude": ["jest.config.ts"]
}