-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
44 lines (40 loc) · 1.05 KB
/
tsconfig.json
File metadata and controls
44 lines (40 loc) · 1.05 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
{
"$schema": "https://json.schemastore.org/tsconfig",
"include": ["./src/**/*.ts"],
"compilerOptions": {
"lib": [
"es2024",
"ESNext.Array",
"ESNext.Collection",
"ESNext.Iterator",
"ESNext.Promise"
],
"module": "preserve",
"target": "es2022",
"moduleResolution": "bundler",
"esModuleInterop": true,
"resolveJsonModule": true,
"rootDir": "./src",
"outDir": "build",
// strict checks
"strict": true,
"noUncheckedIndexedAccess": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"forceConsistentCasingInFileNames": true,
"sourceMap": true,
"skipLibCheck": true,
"declaration": true,
// we allow ts extensions on relative path imports, they will be rewritten
// with rewriteRelativeImportExtensions
"rewriteRelativeImportExtensions": true,
"noEmit": true
}
}