mirror of
https://github.com/sergeyyarkov/asu_tools_service.git
synced 2026-10-11 02:19:09 +03:00
fix types http-server
This commit is contained in:
parent
8d0536e779
commit
8139a711f4
2
http-server/types/http-server.d.ts
vendored
2
http-server/types/http-server.d.ts
vendored
@ -34,7 +34,7 @@ export interface HttpRouter {
|
||||
define: (
|
||||
method: HttpMethod,
|
||||
pathname: string,
|
||||
handler: (ctx: HttpContext) => void,
|
||||
handler: (ctx: HttpContext) => Promise<unknown>,
|
||||
options?: HttpRouteOptions
|
||||
) => void;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user