From 25faf475cea0b5a50393989aa4e8b7e0b1da8d77 Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期三, 28 二月 2024 17:20:27 +0800
Subject: [PATCH] 大屏左侧

---
 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