From 8139a711f4d7a93a5c98f728d1abf50ef6a9aeee Mon Sep 17 00:00:00 2001 From: sergeyyarkov Date: Wed, 26 Aug 2026 12:58:02 +0300 Subject: [PATCH] fix types http-server --- http-server/types/http-server.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-server/types/http-server.d.ts b/http-server/types/http-server.d.ts index c338d71..dbdf0bd 100644 --- a/http-server/types/http-server.d.ts +++ b/http-server/types/http-server.d.ts @@ -34,7 +34,7 @@ export interface HttpRouter { define: ( method: HttpMethod, pathname: string, - handler: (ctx: HttpContext) => void, + handler: (ctx: HttpContext) => Promise, options?: HttpRouteOptions ) => void; }