浏览代码

types: add element-plus/global to tsconfig

xiaoxian521 3 年之前
父节点
当前提交
77b7abcbc3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tsconfig.json

+ 1 - 1
tsconfig.json

@@ -24,7 +24,7 @@
       "@build/*": ["build/*"],
       "@build/*": ["build/*"],
       "/#/*": ["types/*"]
       "/#/*": ["types/*"]
     },
     },
-    "types": ["node", "vite/client"],
+    "types": ["node", "vite/client", "element-plus/global"],
     "typeRoots": ["./node_modules/@types/", "./types"]
     "typeRoots": ["./node_modules/@types/", "./types"]
   },
   },
   "include": [
   "include": [