Skip to content

Commit

Permalink
test: fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
notaphplover committed Jan 30, 2025
1 parent c26eb00 commit f91e67d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/framework.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import express, {
Application,
NextFunction,
Request,
RequestHandler,
Response,
Router,
} from 'express';
Expand Down Expand Up @@ -31,7 +32,7 @@ describe('Unit Test: InversifyExpressServer', () => {
});

it('should call the configFn before the errorConfigFn', () => {
const middleware: Middleware = (
const middleware: Middleware & RequestHandler = (
_req: Request,
_res: Response,
_next: NextFunction,
Expand Down

0 comments on commit f91e67d

Please sign in to comment.