From 2b7b4e2ea52a17eda4eca7ada4a139ad20785631 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期一, 04 三月 2024 14:36:57 +0800
Subject: [PATCH] fix:修改地图以及细节部分
---
tsconfig.json | 37 ++++++++++++++++++++++++++++++++-----
1 files changed, 32 insertions(+), 5 deletions(-)
diff --git a/tsconfig.json b/tsconfig.json
index fc8af7d..e554493 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,19 +1,46 @@
{
- "extends": "@vue/tsconfig/tsconfig.web.json",
- "include": ["env.d.ts", "src/**/*", "src/**/*.vue", "types"],
"compilerOptions": {
+ "target": "esnext",
+ "useDefineForClassFields": true,
+ "module": "esnext",
+ "moduleResolution": "node",
+ "strict": true,
+ "jsx": "preserve",
+ "sourceMap": true,
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "esModuleInterop": true,
+ "lib": [
+ "esnext",
+ "dom"
+ ],
"baseUrl": "./",
- "types": ["vite/client" ,"element-plus/global"],
+ "types": [
+ "node",
+ "vite/client",
+ "element-plus/global"
+ ],
"paths": {
- "@/*": ["src/*"],
+ "@/*": [
+ "src/*"
+ ],
"api/*": [
"src/api/*"
],
}
},
+ "include": [
+ "src/**/*.ts",
+ "src/**/*.d.ts",
+ "src/**/*.tsx",
+ "src/**/*.vue",
+ "types/env.d.ts",
+ "types/*.d.ts"
+ ],
+ "exclude": ["node_modules","public"],
"references": [
{
"path": "./tsconfig.config.json"
}
]
-}
+}
\ No newline at end of file
--
Gitblit v1.8.0