-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
40 lines (34 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
38
39
40
{
"compilerOptions": {
// Type Checking
"strict": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
// "exactOptionalPropertyTypes": true, # work from Typescript 4.4
"noFallthroughCasesInSwitch": true,
// "noImplicitOverride": true, # Unknown compiler option in Stencil
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
// Recommended
"skipLibCheck": true,
"esModuleInterop": true,
"moduleResolution": "Node",
// StencilJS
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"useDefineForClassFields": false,
"jsx": "react",
"jsxFactory": "h",
"jsxFragmentFactory": "Fragment",
"lib": ["DOM", "ESNext"],
"module": "ESNext",
"target": "ESNext",
"sourceMap": true,
"isolatedModules": true,
"resolveJsonModule": true
},
"include": ["src", "test", "scripts/**/*.ts", "capacitor/client/capacitor.config.ts"]
}