PropType 无法推断出复杂类型 #11678
Unanswered
China-xiaoFang
asked this question in
Help/Questions
PropType 无法推断出复杂类型
#11678
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I use defineComponent to define a component in Vue3 + TSX.
When I use complex types in props, my type cannot be inferred correctly.
Actually my columns type is unknown
Unless I write it like this.
This does solve the problem, but I'm not sure if my required validation is still useful.
Is there a better solution?
Beta Was this translation helpful? Give feedback.
All reactions