# Param

Constructs a named string path-parameter Route.

## Signatures

```ts
export declare const Param: <const P extends string>(paramName: P) => Route<`/:${P}`>;
```

## Why

Literal parameter names flow into the handler's inferred record type.

## Ownership and lifetime

`Param` 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.
