Type aliases
RouteOptions
RouteOptions: { decode?: undefined | ((str: string) => string); encode?: undefined | ((str: string) => string); exact?: undefined | false | true }
Type declaration
-
Optional Readonly decode?: undefined | ((str: string) => string)
-
Optional Readonly encode?: undefined | ((str: string) => string)
-
Optional Readonly exact?: undefined | false | true
RouteParams
RouteParams<A>: A extends Route<infer R> ? R : never
Type parameters
RouteValue
RouteValue<A>: A extends Route<any, infer R> ? R : never
Type parameters
@typed/routing