diff --git a/tsconfig.json b/tsconfig.json index 19d8218f..cbe0a4da 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,14 +15,11 @@ "skipLibCheck": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "jsx": "preserve", - "jsxFactory": "h", - "jsxFragmentFactory": "Fragment", "paths": { "@/*": ["src/*"] }, - "types": ["vite/client", "element-plus/global"] + "types": ["node", "vite/client", "element-plus/global"] }, "include": ["mock/**/*.ts", "src/**/*.ts", "src/**/*.vue", "vite.config.ts"], - "exclude": ["node_modules", "dist", "**/*.js"] + "exclude": ["node_modules", "dist"] }