chore: 🔨 修改tsconfg配置

Former-commit-id: 9e10fb7eaca1df1e77e9fc14db2ca9e9cbee0c33
This commit is contained in:
郝先瑞 committed 2023-04-15 23:50:29 +08:00
1 parent d1340e506c
commit 5b033246bc
2 files changed
+13 -4

No files matched your search

+4 -4
View File
@@ -15,12 +15,12 @@
"paths": { "paths": {
"@/*": ["src/*"] "@/*": ["src/*"]
}, },
"types": ["vite/client", "element-plus/global","unplugin-icons/types/vue"], "types": ["vite/client", "element-plus/global", "unplugin-icons/types/vue"],
"skipLibCheck": true /* Skip type checking all .d.ts files. */, "skipLibCheck": true /* Skip type checking all .d.ts files. */,
"allowSyntheticDefaultImports": true /* 允许默认导入 */, "allowSyntheticDefaultImports": true /* 允许默认导入 */,
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */
}, },
"include": ["src/**/*.ts", "src/**/*.vue", "src/types/**/*.d.ts"], "include": ["src/**/*.ts", "src/**/*.vue", "src/types/**/*.d.ts"],
"exclude": ["node_modules", "dist", "**/*.js"] "exclude": ["node_modules", "dist", "**/*.js"],
"references": [{ "path": "./tsconfig.node.json" }]
} }
+9
View File
@@ -0,0 +1,9 @@
{
"compilerOptions": {
"composite": true,
"module": "ESNext",
"moduleResolution": "Node",
"allowSyntheticDefaultImports": true
},
"include": ["vite.config.ts"]
}