Can custom hooks have hints and type inference like useTemplateRef? #12470
tbontb-iaq
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The newly added
useTemplateRef
is a great feature with ref key hints and type inference provided by@vue/language-tools
. Can this useful feature be enjoyed in user-defined hooks?Before:
After:
I think it might look like this:
Beta Was this translation helpful? Give feedback.
All reactions