使用tsx,请问defineComponent定义的子组件,如何在父组件使用时传递泛型参数?或者在定义子组件时,应怎么写? #8679
-
What problem does this feature solve?![]() What does the proposed API look like?使用tsx可以定义泛型组件 |
Beta Was this translation helpful? Give feedback.
Answered by
edison1105
Jun 30, 2023
Replies: 2 comments
-
Pleased read the docs |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
haoqunjiang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
see https://vuejs.org/api/general.html#definecomponent