Skip to content

Type Alias: PathParamsRecord<Path> ​

PathParamsRecord<Path> = ExtractPathParams<Path> extends never ? Record<string, never> : Record<ExtractPathParams<Path>, string | number>

Defined in: src/types/params.ts:18

Creates a record type from extracted path params All params are string | number for flexibility

Type Parameters ​

Path ​

Path extends string

Released under the MIT License. Built with Claude Code.