Skip to content

Commit

Permalink
fix: missing response type on OnHandlerInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
sor4chi authored Jan 25, 2025
1 parent ecf5a0b commit 2a7ee45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1360,6 +1360,7 @@ export interface OnHandlerInterface<
M extends string,
P extends string,
MergedPath extends MergePath<BasePath, P> = MergePath<BasePath, P>,
R extends HandlerResponse<any> = any,
I extends Input = BlankInput,
I2 extends Input = I,
I3 extends Input = I & I2,
Expand Down Expand Up @@ -1393,7 +1394,7 @@ export interface OnHandlerInterface<
H<E8, MergedPath, I7>,
H<E9, MergedPath, I8>,
H<E10, MergedPath, I9>,
H<E11, MergedPath, I10>
H<E11, MergedPath, I10, R>
]
): HonoBase<
IntersectNonAnyTypes<[E, E2, E3, E4, E5, E6, E7, E8, E9, E10, E11]>,
Expand Down

0 comments on commit 2a7ee45

Please sign in to comment.