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
I am not sure whats going on but it seems since Vue 2.7.15 the typing is broken or is this a configuration issue?
I have Vue SFC files using Typescript + Options API, as soon as I use defineComponent all methods are unknown in the template while Vue.extend() works.
I noticed that it depends on the order, this does not work:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am not sure whats going on but it seems since Vue 2.7.15 the typing is broken or is this a configuration issue?
I have Vue SFC files using Typescript + Options API, as soon as I use
defineComponent
all methods are unknown in the template whileVue.extend()
works.I noticed that it depends on the order, this does not work:
While this does work:
Beta Was this translation helpful? Give feedback.
All reactions