Vite 使用npm run build报错error TS2403: Subsequent variable declarations must have the same type. Variable 'afterEach' must be of type 'Lifecycle', but here has type 'HookFunctio
匿名 · 更新于 2021/09/16 22:58:59
在 tsconfig 文件中添加了以下属性
"compilerOptions": {
...
"skipLibCheck": true
},
