The inferred type of 'default' cannot be named without a reference to '.pnpm/vue@2.7.16/node_modules/vue'. This is likely not portable. A type annotation is necessary #315
Labels
need reproduction
Should provide a reproduction
Describe the bug
In vue-demi, it is possible to switch the version of Vue. There is no problem when switching to Vue3, but when switching to Vue2, this error is reported. Can this error be attributed to the following figure? How should I handle it temporarily?
Now tsconfig is like this,
Reproduction
https://stackblitz.com/?starters=vite
Steps to reproduce
No response
System Info
Validations
The text was updated successfully, but these errors were encountered: