From 3031ad0d3ca1b68bc05782db9663d47d1557b2ac Mon Sep 17 00:00:00 2001 From: Roland Soos Date: Tue, 13 Jan 2026 09:42:08 +0100 Subject: [PATCH] improve return type of onOriginRequest --- libs/bunny-sdk/types/bunny.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/bunny-sdk/types/bunny.d.ts b/libs/bunny-sdk/types/bunny.d.ts index 18314fa..3dc4915 100644 --- a/libs/bunny-sdk/types/bunny.d.ts +++ b/libs/bunny-sdk/types/bunny.d.ts @@ -14,7 +14,7 @@ declare namespace Bunny { registerMiddlewares: (middlewares: { onOriginRequest: Array<( ctx: { request: Request }, - ) => Promise | Promise | undefined> + ) => Promise | Promise | Promise | undefined> onOriginResponse: Array<( ctx: { request: Request, response: Response }, ) => Promise | Promise | undefined>