We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27e2970 commit a7a8452Copy full SHA for a7a8452
packages/router/src/typed-routes/route-location.ts
@@ -310,10 +310,10 @@ export type RouteLocationAsPath<Name extends keyof RouteMap = keyof RouteMap> =
310
export type RouteLocationRaw<Name extends keyof RouteMap = keyof RouteMap> =
311
RouteMapGeneric extends RouteMap
312
?
313
- | RouteLocationAsStringTyped
+ | RouteLocationAsString
314
| RouteLocationAsRelativeGeneric
315
| RouteLocationAsPathGeneric
316
:
317
- | RouteLocationAsStringTyped<RouteMap>
+ | _LiteralUnion<RouteLocationAsStringTypedList<RouteMap>[Name], string>
318
| RouteLocationAsRelativeTypedList<RouteMap>[Name]
319
| RouteLocationAsPathTypedList<RouteMap>[Name]
0 commit comments