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
It allows developers to use a functional way of declaring a component and utilizing the model config at the same time. It's already possible when using pure JavaScript.
What does the proposed API look like?
Add the missing part of the interface
model?: {
prop?: string;
event?: string;
};
to the existing interface FunctionalComponentOptions<Props = DefaultProps, PropDefs = PropsDefinition<Props>>.
The text was updated successfully, but these errors were encountered:
posva
added a commit
to posva/vue
that referenced
this issue
May 21, 2018
What problem does this feature solve?
It allows developers to use a functional way of declaring a component and utilizing the
model
config at the same time. It's already possible when using pure JavaScript.What does the proposed API look like?
Add the missing part of the interface
to the existing interface
FunctionalComponentOptions<Props = DefaultProps, PropDefs = PropsDefinition<Props>>
.The text was updated successfully, but these errors were encountered: