Type Alias: PathParamsRecord<Path>
PathParamsRecord<
Path> =ExtractPathParams<Path> extendsnever?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