Content-Length: 316613 | pFad | http://github.com/vuejs/core/discussions/9906

89E How to "extend" component props & emit types when Fallthrough Attributes? · vuejs · Discussion #9906 · GitHub
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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/vuejs/core/discussions/9906

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy