Skip to content

How to "extend" component props & emit types when Fallthrough Attributes? #9906

Discussion options

You must be logged in to vote

Related


Vue supports complex types for defineProps but not entire prop object you have to add it one by one

https://github.com/joe-bell/cva/blob/main/examples/latest/vue/src/components/Button.vue#L27C3-L30C8
https:…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@serkodev
Comment options

@lampuiho
Comment options

Answer selected by serkodev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy