Although the props define is same the type of defineComponent()
return is still not assignable to type DefineComponent<>
#9166
Unanswered
Linhieng
asked this question in
Help/Questions
Replies: 1 comment 1 reply
-
为啥要声明Comp的类型为CompType?很少看到这样的写法 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The code below that I've pulled away from from my repository.
if you change onChange to onabcChange, it is going correct! And if you change onChange to on123Change, it still wrong!
Amazing!
the error info very very long, so I extract the core info.
Beta Was this translation helpful? Give feedback.
All reactions