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
A configuration can have both component and components
When multiple named components are used, props should be a Dictionary of the regular props typings. Right now it doesn't complain because Object is among the regular props typings, however it cannot infer the accurate typing of each of the props, it just uses any.
What does the proposed API look like?
There is no API
The text was updated successfully, but these errors were encountered:
javiertury
added a commit
to javiertury/vue-router
that referenced
this issue
Jun 2, 2020
* feat(types): RouterConfig for multiple components (#3217)
* Apply suggestions from code review
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
What problem does this feature solve?
The typings have the following problems
component
andcomponents
Dictionary
of the regular props typings. Right now it doesn't complain becauseObject
is among the regular props typings, however it cannot infer the accurate typing of each of the props, it just usesany
.What does the proposed API look like?
There is no API
The text was updated successfully, but these errors were encountered: