-
Notifications
You must be signed in to change notification settings - Fork 5
/
tsconfig.json
42 lines (37 loc) · 1.13 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
34
35
36
37
38
39
40
41
42
{
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",
"pretty": true,
"lib": [
"es2022",
"WebWorker"
],
"target": "es2022",
"module": "commonjs",
//"moduleResolution": "bundler",
"isolatedModules": true,
//"verbatimModuleSyntax": true,
"resolveJsonModule": true,
"esModuleInterop": true,
//"declaration": true, // extra type check
//"declarationMap": true,
"sourceMap": true,
"strict": true,
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
// "noUnusedParameters": true, /* Report errors on unused parameters. */
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"newLine": "lf",
// "allowJs": true,
},
"include": [
"src"
],
"exclude": [
"node_modules"
]
}