-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accurate typings for Routeconfig: component, components, props #3217
Labels
Typescript
Typescript related issues
Comments
javiertury
added a commit
to javiertury/vue-router
that referenced
this issue
Jun 2, 2020
javiertury
added a commit
to javiertury/vue-router
that referenced
this issue
Jun 3, 2020
javiertury
added a commit
to javiertury/vue-router
that referenced
this issue
Jun 3, 2020
javiertury
added a commit
to javiertury/vue-router
that referenced
this issue
Jun 3, 2020
javiertury
added a commit
to javiertury/vue-router
that referenced
this issue
Jun 3, 2020
posva
added a commit
that referenced
this issue
Jun 4, 2020
* feat(types): RouterConfig for multiple components (#3217) * Apply suggestions from code review Co-authored-by: Eduardo San Martin Morote <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: