# PathParams

Extracts decoded path-parameter fields from a route string.

## Signatures

```ts
export type PathParams<P extends string> = ParseAsts<P> extends infer Asts ? [
    Asts
] extends [
    never
] ? never : Asts extends ReadonlyArray<PathAst> ? ToReadonlyRecord<GetPathParams<Asts>> : never : never;
```

## Why

Handlers can distinguish path values from query values without manual record projection.

## Ownership and lifetime

TypeScript computes `PathParams` from the route literal or AST tuple supplied to it; the alias is erased and retains no runtime data.
