找不到“vite/client”的类型定义文件,程序包含该文件是因为: 在 compilerOptions 中指定的类型库 "vite/client" 的入口点。安装版本:"typescript": "^4.9.5", "vite": "^4.4.9"。 tsConfig: { "compilerOptions": { "target": "esnext", "module": "esnext", "moduleResolution": "node", "...
找不到“vite/client”的类型定义文件。 程序包含该文件是因为: 在compilerOptions 中指定的类型库 "vite/client" 的入口点 原因 tsconfig.ts中已经配置 "types": ["vite/client"] {"compilerOptions":{"target":"ESNext","module":"ESNext","lib":["DOM","DOM.Iterable","ESNext"],"esModuleInterop":...
"lib":["dom","esnext"], "types":["vite/client","jest"], "typeRoots":["./node_modules/@types/","./types"], "typeRoots":["./node_modules/@types/","./types","./node_modules"], "noImplicitAny":false, "skipLibCheck":true, ...
"lib": ["dom", "esnext"], "types": ["vite/client", "jest"], "typeRoots": ["./node_modules/@types/", "./types"], "typeRoots": ["./node_modules/@types/", "./types","./node_modules"], "noImplicitAny": false, "skipLibCheck": true, "paths": { 0 comments on commit ...