Skip to content
Myr

fix: fix type check warnings (#233)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Yusuke Wada · committed by GitHub · parent 196f5d5 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/hono.ts+1 added-1 removed
15 unmodified lines
16}1718export type Handler<RequestParamKeyType = string, E = Env> = (19 c: Context<RequestParamKeyType, E>,20 next?: Next20 next: Next21) => Response | Promise<Response> | void | Promise<void>22export type NotFoundHandler<E = Env> = (c: Context<string, E>) => Response23export type ErrorHandler<E = Env> = (err: Error, c: Context<string, E>) => Response24export type Next = () => Promise<void>
224 unmodified lines