You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently IDE extensions cannot extract the types of locally registered components, which makes it difficult to support strong typings of components inside SFC templates, see vuejs/language-tools#80.
What does the proposed API look like?
Expose the component types as generics (if possible):
That is, be able to extract the types of the locally registered components from the exported component similarly to props and emits (#2094). @johnsoncodehk is this correct?
@gertqin I need to avoid use vue 3 helper types to support others like Vue.extends / @vue/composition-api / vue-class-component etc, so I would like to do this:
What problem does this feature solve?
Currently IDE extensions cannot extract the types of locally registered components, which makes it difficult to support strong typings of components inside SFC templates, see vuejs/language-tools#80.
What does the proposed API look like?
Expose the component types as generics (if possible):
The text was updated successfully, but these errors were encountered: