Skip to content

vue-router / RouteParamsRaw

RouteParamsRaw<Name>

ts
type RouteParamsRaw<Name> = RouteMap[Name]["paramsRaw"];

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

Type Parameters

Name

Name extends keyof RouteMap = keyof RouteMap

See

RouteParamsRaw

Released under the MIT License.