We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1c4367 commit 9fff5f5Copy full SHA for 9fff5f5
packages/node/src/integrations/tracing/hono/types.ts
@@ -15,7 +15,7 @@ export type Next = () => Promise<void>;
15
export type Handler = (c: Context, next: Next) => Promise<Response> | Response;
16
17
// Vendored from: https://github.com/honojs/hono/blob/855e5b1adbf685bf4b3e6b76573aa7cb0a108d04/src/types.ts#L80
18
-export type MiddlewareHandler = (c: Context, next: Next) => Promise<Response | void> | Response | void;
+export type MiddlewareHandler = (c: Context, next: Next) => Promise<Response | void>;
19
20
// Vendored from: https://github.com/honojs/hono/blob/855e5b1adbf685bf4b3e6b76573aa7cb0a108d04/src/types.ts#L109
21
export type HandlerInterface = {
0 commit comments