RouteValues
type alias in meocord/common Since 4.1.0
type RouteValues<T extends string> = {
[S in RouteParamSpecs<T> as S['name']]: S['type'] extends 'string'
? RouteValue
: SegmentValue<S['type']>
}The values a route's build takes, one for each of its params and no others.
A typed param takes a value of its type, such as a number for {count:int} or one of the words for
{order:asc|desc}; an untyped one takes any RouteValue.