Skip to content

Commit

Permalink
Fixes Middleware type
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinBuschmann committed Aug 7, 2023
1 parent 3fc8060 commit 7c9a72b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Middleware.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Handler } from './Handler';

export type Middleware<InputType, ExtendedType, ExtendedHandlerType = {}> = (
handler: Handler<ExtendedType & InputType>,
handler: Handler<ExtendedType>,
) => Handler<InputType> & ExtendedHandlerType;

0 comments on commit 7c9a72b

Please sign in to comment.