Skip to content

Commit

Permalink
fix: fix type check warnings (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
yusukebe authored May 15, 2022
1 parent 196f5d5 commit 63d2e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hono.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ declare global {

export type Handler<RequestParamKeyType = string, E = Env> = (
c: Context<RequestParamKeyType, E>,
next?: Next
next: Next
) => Response | Promise<Response> | void | Promise<void>
export type NotFoundHandler<E = Env> = (c: Context<string, E>) => Response
export type ErrorHandler<E = Env> = (err: Error, c: Context<string, E>) => Response
Expand Down

0 comments on commit 63d2e1a

Please sign in to comment.