Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
djhi committed Jun 5, 2024
1 parent 7b97ff8 commit a8d3050
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/BaseServerWithMiddlewares.ts
Original file line number Diff line number Diff line change
Expand Up @@ -378,5 +378,5 @@ export type Middleware<RequestType> = (
next: (
req: RequestType,
ctx: FakeRestContext,
) => Promise<BaseResponse> | BaseResponse,
) => Promise<BaseResponse> | BaseResponse | null | Promise<null>;
) => Promise<BaseResponse | null> | BaseResponse | null,
) => Promise<BaseResponse | null> | BaseResponse | null;

0 comments on commit a8d3050

Please sign in to comment.