From a8d3050c866752da0ed2fe0646fc7562feebad40 Mon Sep 17 00:00:00 2001 From: Gildas Garcia <1122076+djhi@users.noreply.github.com> Date: Wed, 5 Jun 2024 09:03:02 +0200 Subject: [PATCH] Fix build --- src/BaseServerWithMiddlewares.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BaseServerWithMiddlewares.ts b/src/BaseServerWithMiddlewares.ts index c143902..4c414fe 100644 --- a/src/BaseServerWithMiddlewares.ts +++ b/src/BaseServerWithMiddlewares.ts @@ -378,5 +378,5 @@ export type Middleware = ( next: ( req: RequestType, ctx: FakeRestContext, - ) => Promise | BaseResponse, -) => Promise | BaseResponse | null | Promise; + ) => Promise | BaseResponse | null, +) => Promise | BaseResponse | null;