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
At the moment slot typings are only available for components that are written in vanilla vue. Components that are written in HyperScript and therefore do not have a template block cannot currently provide typings. Therefore it would be useful to be able to define which (named) slots the component provides, similar to props.
What does the proposed API look like?
The idea here would be that if a type is specified, than it describes the type of the slot property. If no type is specified, it is a slot without slot properties.
What problem does this feature solve?
At the moment slot typings are only available for components that are written in vanilla vue. Components that are written in HyperScript and therefore do not have a template block cannot currently provide typings. Therefore it would be useful to be able to define which (named) slots the component provides, similar to props.
What does the proposed API look like?
The idea here would be that if a type is specified, than it describes the type of the slot property. If no type is specified, it is a slot without slot properties.
The text was updated successfully, but these errors were encountered: