type-alias / @typed/router

Any

A Route with intentionally widened path and schema parameters.

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

Import

import type { Any } from "@typed/router";

Signatures

export type Any = Route.Any;

Why

Heterogeneous route collections can store values while constructor overloads retain precise types.

Ownership and lifetime

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