Browse Source

types: add element-plus/global to tsconfig

xiaoxian521 3 years ago
parent
commit
77b7abcbc3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tsconfig.json

+ 1 - 1
tsconfig.json

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