Import
import { Int } from "@typed/router";Signatures
export declare const Int: <const P extends string>(paramName: P) => Route<`/:${P}`, Schema.Codec<{
readonly [K in P]: number;
}, Path.Params<`/:${P}`>>>;Why
Integer validation is part of candidate decoding and can fall through to another candidate.
Ownership and lifetime
Int constructs its Route immediately. The Route retains the supplied AST or route values and lazily memoizes derived paths and Codecs; Codec services are required only when decoding or encoding runs.
Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.