主题
diff --git a/tsconfig.json b/tsconfig.json
index 7c11768..d75ce8b 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -2,41 +2,39 @@
"compilerOptions": {
"target": "esnext",
"module": "esnext",
- "strict": true,
- "jsx": "preserve",
- "importHelpers": true,
"moduleResolution": "node",
- "skipLibCheck": true,
- "esModuleInterop": true,
+ "strict": true,
+ "forceConsistentCasingInFileNames": true,
"allowSyntheticDefaultImports": true,
- "experimentalDecorators": true,
- "sourceMap": true,
- "pretty": true,
- "resolveJsonModule": true,
- "allowJs": true,
- "checkJs": true,
- "suppressImplicitAnyIndexErrors": true,
- "strictPropertyInitialization": false,
- "downlevelIteration": true,
- "noUnusedLocals": false,
- "noImplicitAny": false,
- "noImplicitThis": true,
- "removeComments": false,
"strictFunctionTypes": false,
+ "jsx": "preserve",
"baseUrl": ".",
- "types": ["vite/client", "node"],
- "typeRoots": ["./node_modules/@types/", "./types"],
+ "allowJs": true,
+ "sourceMap": true,
+ "esModuleInterop": true,
+ "resolveJsonModule": true,
+ "noUnusedLocals": true,
+ "noUnusedParameters": true,
+ "experimentalDecorators": true,
+ "lib": [
+ "dom",
+ "esnext"
+ ],
+ "types": [
+ "vite/client",
+ "jest"
+ ],
+ "typeRoots": [
+ "./node_modules/@types/",
+ "./types"
+ ],
+ "noImplicitAny": false,
+ "skipLibCheck": true,
"paths": {
"@/*": [
"src/*"
]
- },
- "lib": [
- "esnext",
- "dom",
- "dom.iterable",
- "scripthost"
- ]
+ }
},
"include": [
"src/**/*.ts",
@@ -44,9 +42,15 @@
"src/**/*.tsx",
"src/**/*.vue",
"types/**/*.d.ts",
- "types/**/*.ts"
+ "types/**/*.ts",
+ "build/**/*.ts",
+ "build/**/*.d.ts",
+ "mock/**/*.ts",
+ "vite.config.ts"
],
"exclude": [
- "node_modules"
+ "node_modules",
+ "dist",
+ "**/*.js"
]
}