-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
38 lines (38 loc) · 1.03 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
{
"compilerOptions": {
"allowJs": true,
"module": "commonjs",
"skipLibCheck": true,
"noImplicitAny": true, // Causes error like: Could not find a declaration file
"sourceMap": true,
"jsx": "react",
"target": "es5",
"outDir": "dist",
"strict": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"removeComments": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
// For import statement
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"baseUrl": "./",
"paths": {
"@/*": ["./src/*"],
"@main/*": ["./src/main/*"],
"@assets/*": ["./src/assets/*"],
"@utils/*": ["./src/utils/*"],
"@renderer/*": ["./src/renderer/*"],
"@app/*": ["./src/renderer/app/*"],
"@components/*": ["./src/renderer/components/*"],
"@screens/*": ["./src/renderer/screens/*"]
}
},
"include": ["src/**/*", "global.d.ts"],
"exclude": ["node_modules"]
}