Skip to content
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

docs: Change type to LocationQueryValue to accurately reflect source. #1398

Merged
merged 1 commit into from May 14, 2022

Conversation

maximoosemine
Copy link
Contributor

In the source, the type of RouteLocationNormalized.query is a Record<string, LocationQueryValue | LocationQueryValue[]>. LocationQueryValue isn't exactly a string, but is a (string | null). I think it makes sense to update the docs, especially since LocationQueryValue isn't assignable to string.

In the source, the type of RouteLocationNormalized.query is a Record<string, LocationQueryValue | LocationQueryValue[]>.  LocationQueryValue isn't exactly a string, but is a (string | null). I think it makes sense to update the docs, especially since LocationQueryValue isn't assignable to string.
@netlify
Copy link

netlify bot commented May 13, 2022

Deploy Preview for vue-router ready!

Name Link
🔨 Latest commit f93fe89
🔍 Latest deploy log https://app.netlify.com/sites/vue-router/deploys/627e8e755a07de0009338d52
😎 Deploy Preview https://deploy-preview-1398--vue-router.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@posva posva merged commit 0c7b3cb into vuejs:main May 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants