Commit 266b566850838b85cc662c70fc5b066f55f7f939
Committed by
GitHub
1 parent
a281631a
tsconfig 增加 types , 解决webstorm提示错误 (#1527)
Showing
1 changed file
with
1 additions
and
0 deletions
tsconfig.json
@@ -20,6 +20,7 @@ | @@ -20,6 +20,7 @@ | ||
20 | "lib": ["dom", "esnext"], | 20 | "lib": ["dom", "esnext"], |
21 | "noImplicitAny": false, | 21 | "noImplicitAny": false, |
22 | "skipLibCheck": true, | 22 | "skipLibCheck": true, |
23 | + "types": ["vite/client"], | ||
23 | "removeComments": true, | 24 | "removeComments": true, |
24 | "paths": { | 25 | "paths": { |
25 | "/@/*": ["src/*"], | 26 | "/@/*": ["src/*"], |