Vue version
3.5.32
Link to minimal reproduction
https://github.com/cosmincartas/test-types
Steps to reproduce
I was trying to adapt a set of components to our design system while I ran into a problem related to complex types. Looks like the vue compiler cannot extend component props with library provided props such as VariantProps from tailwind-variants or extends base types from reka-ui.
npm install
npm run dev
What is expected?
I should be able to extend props of a component with other types.
What is actually happening?
System Info
Any additional comments?
I've noticed that there is a package that addresses this problem, but I still got problems with some types from reka-ui if i am using vue.ts/complex-types. Could this be addressed in the core library?
Vue version
3.5.32
Link to minimal reproduction
https://github.com/cosmincartas/test-types
Steps to reproduce
I was trying to adapt a set of components to our design system while I ran into a problem related to complex types. Looks like the vue compiler cannot extend component props with library provided props such as
VariantPropsfromtailwind-variantsor extends base types fromreka-ui.npm installnpm run devWhat is expected?
I should be able to extend props of a component with other types.
What is actually happening?
System Info
Any additional comments?
I've noticed that there is a package that addresses this problem, but I still got problems with some types from
reka-uiif i am using vue.ts/complex-types. Could this be addressed in the core library?