tsconfig 增加 types , 解决webstorm提示错误 (#1527)
This commit is contained in:
parent
a281631ae3
commit
266b566850
|
|
@ -20,6 +20,7 @@
|
||||||
"lib": ["dom", "esnext"],
|
"lib": ["dom", "esnext"],
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
|
"types": ["vite/client"],
|
||||||
"removeComments": true,
|
"removeComments": true,
|
||||||
"paths": {
|
"paths": {
|
||||||
"/@/*": ["src/*"],
|
"/@/*": ["src/*"],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue