-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtsconfig.json
More file actions
29 lines (29 loc) · 953 Bytes
/
tsconfig.json
File metadata and controls
29 lines (29 loc) · 953 Bytes
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
{
"compilerOptions": {
"rootDir": "src",
// "outDir": "out",
"lib": ["es2020", "dom", "dom.iterable"],
"module": "commonjs",
"target": "es2020",
"declaration": true,
"sourceMap": true,
"strict": true /* enable all strict type-checking options */,
"moduleResolution": "node",
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
"esModuleInterop": true,
"incremental": true, // default is true when composite: true
"composite": true,
"useDefineForClassFields": true,
"allowJs": false,
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"noUnusedParameters": false,
"noUnusedLocals": false,
"isolatedModules": true,
"noEmit": true, // because esbuild will emit the output (in bundle form)
"jsx": "preserve"
// "jsxFactory": "h",
// "jsxFragmentFactory": "Fragment"
}
}