Skip to content

API DocumentationDocs


API Documentation / RouteLocationAsString

Type Alias: RouteLocationAsString<Name>

RouteLocationAsString<Name>: RouteMapGeneric extends RouteMap ? string : _LiteralUnion<RouteLocationAsStringTypedList<RouteMap>[Name], string>

Same as RouteLocationAsPath but as a string literal.

Type Parameters

Name extends keyof RouteMap = keyof RouteMap

Released under the MIT License.