Skip to content

Types: RouterRoute<TRoute>

ts
type RouterRoute<TRoute>: object;

Type Parameters

Type ParameterDefault type
TRoute extends ResolvedRouteResolvedRoute

Type declaration

hash

ts
readonly hash: TRoute["hash"];

href

ts
readonly href: TRoute["href"];

id

ts
readonly id: TRoute["id"];

matched

ts
readonly matched: TRoute["matched"];

matches

ts
readonly matches: TRoute["matches"];

name

ts
readonly name: TRoute["name"];

params

ts
params: TRoute["params"];

state

ts
state: TRoute["state"];

update

ts
readonly update: RouteUpdate<TRoute>;

query

Get Signature

ts
get query(): URLSearchParams
Returns

URLSearchParams

Set Signature

ts
set query(value): void
Parameters
ParameterType
value| undefined | string | URLSearchParams | string[][] | Record<string, string>
Returns

void