Typescript-only-props-typing feature is great, but not yet implemented ? #259
ishowman
started this conversation in
RFC Discussions
Replies: 1 comment 3 replies
-
for me as a typescript developer those old-style props declarations seems totally useless boilerplate, and I'm very waiting for typescript-only declarations |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I found it on https://github.com/vuejs/rfcs/blob/function-apis/active-rfcs/0000-function-api.md#typescript-only-props-typing,
this is more typescript style than declare type again in props option.
But I copy code of the example of the link, it is not work like as I expect (I have rename createComponent to defineComponent for vue has no exported member named createComponent). Is it not implemented yet?
Beta Was this translation helpful? Give feedback.
All reactions