-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
59 lines (57 loc) · 1.55 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
51
52
53
54
55
56
57
58
59
{
"compilerOptions": {
// "module": "commonjs",
"baseUrl": "./",
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "ESNext",
"module": "ESNext",
"sourceMap": true,
// "incremental": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": false,
"noFallthroughCasesInSwitch": false,
"allowJs": true,
"moduleResolution": "node",
// "suppressImplicitAnyIndexErrors": true,
"strict": true,
"resolveJsonModule": true,
"alwaysStrict": true,
"strictPropertyInitialization": true,
"strictBindCallApply": true,
"strictFunctionTypes": true,
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"useUnknownInCatchVariables": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
// "exactOptionalPropertyTypes": true, // ?:number 只接收number不接收undefined
"noImplicitReturns": true,
// "noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
"jsx": "react-jsx",
"paths": {
"@pkg/*": ["./packages/*/src"],
"@@/*": [".dumi/tmp/*"]
}
},
"include": [
".dumi",
"docs",
"internal",
"packages",
"scripts",
".dumirc.ts",
".fatherrc.ts",
"utils"
],
"exclude": ["node_modules", "dist", "tmp"]
}