Skip to content

Types: AliasTransformContext<TParams> ​

ts
type AliasTransformContext<TParams> = object;

What an alias transform is given: the url that matched and the params the alias pattern parsed from it.

Type Parameters ​

Type ParameterDefault typeDescription
TParamsRecord<string, unknown>The alias's own params, typed by the alias pattern.

Properties ​

PropertyTypeDescription
paramsTParamsThe params the alias pattern parsed from the url, typed by the alias's own params rather than the route's.
urlstringThe url that matched the alias.