You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR [@vue/compiler-sfc] Failed to resolve extends base type. 10:28:18
If this previously worked in 3.2, you can instruct the compiler to ignore this extend by adding /* @vue-ignore */ before it, for example:
interface Props extends /* @vue-ignore */ Base {}
Note: both in 3.2 or with the ignore, the properties in the base type are treated as fallthrough attrs at runtime.
anonymous.vue
Also i am using javascript for the project but the component installed is using typescript.
Reproduction
npx shadcn-vue@latest add toast
Describe the bug
Got this error while installing toast:
ERROR [@vue/compiler-sfc] Failed to resolve extends base type. 10:28:18
If this previously worked in 3.2, you can instruct the compiler to ignore this extend by adding /* @vue-ignore */ before it, for example:
interface Props extends /* @vue-ignore */ Base {}
Note: both in 3.2 or with the ignore, the properties in the base type are treated as fallthrough attrs at runtime.
anonymous.vue
Also i am using javascript for the project but the component installed is using typescript.
System Info
Contributes
The text was updated successfully, but these errors were encountered: