mirror of
https://github.com/sergeyyarkov/asu_tools_service.git
synced 2026-10-11 10:29:22 +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: (
|
define: (
|
||||||
method: HttpMethod,
|
method: HttpMethod,
|
||||||
pathname: string,
|
pathname: string,
|
||||||
handler: (ctx: HttpContext) => void,
|
handler: (ctx: HttpContext) => Promise<unknown>,
|
||||||
options?: HttpRouteOptions
|
options?: HttpRouteOptions
|
||||||
) => void;
|
) => void;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user