-
-
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
Typescript: Location
interface typing for query should include arrays
#2182
Labels
Typescript
Typescript related issues
Comments
posva
changed the title
Typescript:
Typescript: May 1, 2018
Location
interface typing for queryLocation
interface typing for query should include arrays
It is set to string or string[] which is right. |
Seems like #2050 is merged now. This can be closed? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
3.0.1
Reproduction link
https://router.vuejs.org/en/essentials/navigation.html
Steps to reproduce
When programmatically navigating on vue router, pass through a dictionary with a param as an array. E.g.
What is expected?
Types are expected to work
What is actually happening?
In
router.d.ts
, the typing forquery
, underLocation
is set to:Dictionary<string>
.This should be set to allow arrays too. Potentially numbers as well?
The text was updated successfully, but these errors were encountered: