fix types http-server

This commit is contained in:
Sergey Yarkov 2026-08-26 12:58:02 +03:00
parent 8d0536e779
commit 8139a711f4

View File

@ -34,7 +34,7 @@ export interface HttpRouter {
define: ( define: (
method: HttpMethod, method: HttpMethod,
pathname: string, pathname: string,
handler: (ctx: HttpContext) => void, handler: (ctx: HttpContext) => Promise<unknown>,
options?: HttpRouteOptions options?: HttpRouteOptions
) => void; ) => void;
} }