Skip to content

ExtractHandlerResponse

reference
1 min readUpdated

Kind: Type

Source: src/types.ts

Definition

ts
T extends (c: any, next: any) => Promise<infer R> ? Exclude<R, void> extends never ? never : Exclude<R, void> extends Response | TypedResponse<any, any, any> ? Exclude<R, void> : never : T extends (c: any, next: any) => infer R ? R extends Response | TypedResponse<any, any, any> ? R : never : never

Was this page helpful?

Download as PDF
ExtractHandlerResponse — Hono (narrator proof)