Skip to content

[@vue/compiler-sfc] Failed to resolve extends base type. #3873

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
iEnzO233 opened this issue Apr 13, 2025 · 0 comments
Open

[@vue/compiler-sfc] Failed to resolve extends base type. #3873

iEnzO233 opened this issue Apr 13, 2025 · 0 comments
Labels
needs reproduction question Further information is requested v3 #1289

Comments

@iEnzO233
Copy link

Description

hi
after i upgrade from v2 to v3 i get this error :

[plugin:vite:vue] [@vue/compiler-sfc] Failed to resolve extends base type.
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.

/node_modules/@nuxt/ui/dist/runtime/components/Carousel.vue
151| const appConfig = useAppConfig()
152| const { dir, t } = useLocale()
153| const rootProps = useForwardProps(reactivePick(props, 'active', 'align', 'breakpoints', 'containScroll', 'dragFree', 'dragThreshold', 'duration', 'inViewThreshold', 'loop', 'skipSnaps', 'slidesToScroll', 'startIndex', 'watchDrag', 'watchResize', 'watchSlides', 'watchFocus'))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
154|
155| const prevIcon = computed(() => props.prevIcon || (dir.value === 'rtl' ? appConfig.ui.icons.arrowRight : appConfig.ui.icons.arrowLeft))

can anyone help me ?

@iEnzO233 iEnzO233 added question Further information is requested v3 #1289 labels Apr 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs reproduction question Further information is requested v3 #1289
Projects
None yet
Development

No branches or pull requests

2 participants