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,
done: () => Promise<unknown>,
) =>
| Promise<void>
| void;
| Promise<void>;
type RouteParam = {
idx: number;