Skip to content

Commit

Permalink
fix(helper/factory): Reduce the code size of createMiddleware (#3824)
Browse files Browse the repository at this point in the history
  • Loading branch information
miyaji255 authored Jan 14, 2025
1 parent 2ead4d8 commit 2a68c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helper/factory/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,4 +316,4 @@ export const createMiddleware = <
I extends Input = {}
>(
middleware: MiddlewareHandler<E, P, I>
): MiddlewareHandler<E, P, I> => createFactory<E, P>().createMiddleware<I>(middleware)
): MiddlewareHandler<E, P, I> => middleware

0 comments on commit 2a68c59

Please sign in to comment.