type-alias / @typed/router/Route

Route.QueryType

Extracts the decoded query-only parameter record from a Route.

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

Import

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

Access Route.QueryType through the imported Route export. Its declaration below describes the member.

Signatures

type QueryType<T extends Any> = T["querySchema"]["Type"];

Why

Generic handlers can reason about declared query data independently.

Ownership and lifetime

TypeScript computes QueryType 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