-
Notifications
You must be signed in to change notification settings - Fork 4
/
tsconfig.json
50 lines (43 loc) · 1.33 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
43
44
45
46
47
48
49
50
{
"compilerOptions": {
"target": "ES2020",
"lib": ["ESNext", "DOM"],
"module": "ES2022",
"declaration": true,
"declarationMap": false,
"sourceMap": false,
"jsx": "react-native",
"noEmit": true,
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
"@tauri-apps/api/*": ["./node_modules/@tauri-apps/api/*"],
},
/* Strict Type-Checking Options */
"strict": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"alwaysStrict": true,
/* Additional Checks */
// "noUnusedLocals": false, // ensured by eslint, should not block compilation
// "noImplicitReturns": true,
// "noFallthroughCasesInSwitch": true,
/* Disabled on purpose (handled by ESLint, should not block compilation) */
"noUnusedParameters": false,
/* Module Resolution Options */
"moduleResolution": "Bundler",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"isolatedModules": true,
/* Advanced Options */
"resolveJsonModule": true,
"skipLibCheck": true, // @types/webpack and webpack/types.d.ts are not the same thing
/* Use tslib */
"importHelpers": true,
"noEmitHelpers": true
},
"exclude": ["node_modules", "**/lib/**/*"]
}