-
-
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 null
#2605
Closed
soyersoyer opened this issue
Feb 5, 2019
· 0 comments
· Fixed by mariazevedo88/hash-generator-js#5, tghelere/valorize-vidas#4, tghelere/DeliVuery#18, tghelere/dailymages#2 or tghelere/vuestore#4
Closed
Typescript: Location
interface typing for query should include null
#2605
soyersoyer opened this issue
Feb 5, 2019
· 0 comments
· Fixed by mariazevedo88/hash-generator-js#5, tghelere/valorize-vidas#4, tghelere/DeliVuery#18, tghelere/dailymages#2 or tghelere/vuestore#4
Labels
Typescript
Typescript related issues
Comments
This was referenced Aug 29, 2019
This was referenced Oct 26, 2019
This was referenced Jan 20, 2020
This was referenced Feb 5, 2020
[Snyk] Upgrade vue-router from 3.0.1 to 3.1.4
michaelwybraniec/vue-vuex-jwt-authentication-example#2
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
3.0.2
Reproduction link
https://router.vuejs.org/guide/essentials/navigation.html
Steps to reproduce
When programmatically navigating on vue router, pass through a dictionary with a param as null. E.g.
What is expected?
Types are expected to work.
The url should be ?foo.
What is actually happening?
It works, but with an error:
Type '{ foo: null; }' is not assignable to type 'Dictionary<string | string[]>'.
The text was updated successfully, but these errors were encountered: