fix: 避免tsconfig文件检查js报错

This commit is contained in:
midfar 2023-03-10 14:53:44 +08:00
parent 56da9fa028
commit 4949d6f883

View File

@ -12,7 +12,7 @@
"jsx": "preserve", "jsx": "preserve",
"baseUrl": ".", "baseUrl": ".",
"preserveValueImports": false, "preserveValueImports": false,
"allowJs": true, "allowJs": false,
"sourceMap": true, "sourceMap": true,
"esModuleInterop": true, "esModuleInterop": true,
"resolveJsonModule": true, "resolveJsonModule": true,
@ -23,7 +23,7 @@
"noImplicitAny": false, "noImplicitAny": false,
"skipLibCheck": true, "skipLibCheck": true,
"removeComments": true, "removeComments": true,
"types": ["webpack-env", "unplugin-vue-define-options"], "types": ["webpack-env", "vite/client"],
"paths": { "paths": {
"@/*": ["src/*"] "@/*": ["src/*"]
} }