]> git.ipfire.org Git - thirdparty/vuejs/router.git/commit
Change type to LocationQueryValue to accurately reflect source. (#1398)
authormaximoosemine <42452897+maximoosemine@users.noreply.github.com>
Sat, 14 May 2022 23:51:29 +0000 (16:51 -0700)
committerGitHub <noreply@github.com>
Sat, 14 May 2022 23:51:29 +0000 (01:51 +0200)
commit0c7b3cb85b6558be617f8b5546be2741d828ebf6
treed365f16a9b53aa28a2c5a905ce80629d5b6203c2
parent20ac2d1f479e3ac806a2fa4d789ce017746e15ba
Change type to LocationQueryValue to accurately reflect source. (#1398)

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.
docs/api/index.md