Skip to content

API DocumentationDocs


API Documentation / RouteParams

Type Alias: RouteParams<Name>

RouteParams<Name>: RouteMap[Name]["params"]

Generate a type safe params for a route location. Requires the name of the route to be passed as a generic.

Type Parameters

Name extends keyof RouteMap = keyof RouteMap

See

RouteParamsGeneric

Released under the MIT License.