API Documentation • Docs
API Documentation / RouteLocationAsStringTyped
Type Alias: RouteLocationAsStringTyped<RouteMap, Name>
RouteLocationAsStringTyped<
RouteMap
,Name
>:RouteMap
[Name
]["path"
]
Helper to generate a type safe version of the RouteLocationAsString type.
Type Parameters
• RouteMap extends RouteMapGeneric
= RouteMapGeneric
• Name extends keyof RouteMap
= keyof RouteMap