type-alias / @typed/router/Route

Params

Combines decoded path and query parameter fields for a route string.

Package version
1.0.0-beta.13
Category
Route type inference
Since
1.0.0

Import

import type { Params } from "@typed/router/Route";

Signatures

export type Params<T> = Route.Params<T>;

Why

Matcher handlers receive one exact parameter object derived from the route grammar.

Ownership and lifetime

TypeScript computes Params from its Route input; the alias is erased and owns no runtime value.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source