Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information