forked from jdf2e/nutui-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
35 lines (35 loc) · 966 Bytes
/
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
{
"compilerOptions": {
"baseUrl": ".",
"rootDir": ".",
"target": "ESNext",
"types": ["vite/client", "jest"],
"allowJs": false,
"declaration": true,
"declarationDir": "./dist/esm/types",
"emitDeclarationOnly": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
// "alwaysStrict": true,
// "strictNullChecks": true,
// "strictFunctionTypes": true,
// "noImplicitAny": true,
"forceConsistentCasingInFileNames": true,
"module": "ESNext",
"moduleResolution": "Node",
"resolveJsonModule": true,
"isolatedModules": true,
// "noUnusedParameters": true,
// "noUnusedLocals": true,
"jsx": "react",
"lib": ["esnext", "dom"],
// "outDir": "./tsc/test",
"paths": {
"@/*": ["src/*"]
}
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx"],
"exclude": ["./node_modules/*", "src/sites/*"]
}