Resolves the pathParams portion of path params. Extracted to avoid re-evaluating
NamedPathParams multiple times inside ConstructPathParams.
Tuple wrapping ([Named] extends [string]) prevents distributive conditional behavior so that a
union like 'a' | 'b' produces a single Record<'a' | 'b', string> instead of Record<'a', string> | Record<'b', string>.
Resolves the pathParams portion of path params. Extracted to avoid re-evaluating
NamedPathParamsmultiple times inside ConstructPathParams.Tuple wrapping (
[Named] extends [string]) prevents distributive conditional behavior so that a union like'a' | 'b'produces a singleRecord<'a' | 'b', string>instead ofRecord<'a', string> | Record<'b', string>.