-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
37 lines (37 loc) · 1.05 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
{
"compilerOptions": {
"incremental": true,
"module": "commonjs",
"moduleResolution": "node",
"jsx": "react-jsx",
"noEmit": true,
"pretty": true,
"sourceMap": true,
"removeComments": false,
"declaration": true,
// For node <=> ES support check https://node.green/
"target": "ES2019",
"lib": ["ES2019", "DOM"],
"typeRoots": ["./@types", "./node_modules/@types"],
"experimentalDecorators": true,
// This isn't supported by esbuild, so explicitly disable it here.
"emitDecoratorMetadata": false,
"esModuleInterop": true,
"resolveJsonModule": true,
"strict": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"forceConsistentCasingInFileNames": true,
"preserveWatchOutput": true,
"paths": {
"~main/*": ["./src/main/*"],
"~renderer/*": ["./src/renderer/*"],
"~shared/*": ["./src/shared/*"]
}
},
"include": ["src"],
"exclude": ["node_modules"]
}