Skip to content

MergeSchemaPath

reference
1 min readUpdated

Kind: Type

Source: src/types.ts

Definition

ts
{ [P in keyof OrigSchema as MergePath<SubPath, P & string>]: [OrigSchema[P]] extends [ Record<string, Endpoint>, ] ? { [M in keyof OrigSchema[P]]: MergeEndpointParamsWithPath<OrigSchema[P][M], SubPath> } : never }

Was this page helpful?

Download as PDF
MergeSchemaPath — Hono (narrator proof)