Types: UrlParamsReading<TUrl>
ts
type UrlParamsReading<TUrl> = ToUrlParamsReading<TUrl["params"]>;Extracts combined types of path and query parameters for a given url, creating a unified parameter object.
Type Parameters
| Type Parameter | Description |
|---|---|
TUrl extends Url | The url type from which to extract and merge parameter types. |
Returns
A record of parameter names to their respective types, extracted and merged from both path and query parameters.