force async func

This commit is contained in:
HorizonCode 2023-05-11 14:30:53 +02:00
parent 874c43126d
commit bbc861fde3

3
mod.ts
View File

@ -23,8 +23,7 @@ type RouteMiddlewareHandler = (
req: RouteRequest, req: RouteRequest,
done: () => Promise<unknown>, done: () => Promise<unknown>,
) => ) =>
| Promise<void> | Promise<void>;
| void;
type RouteParam = { type RouteParam = {
idx: number; idx: number;