diff --git a/src/types/index.ts b/src/types/index.ts index 7167a00..9e35298 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -15,7 +15,7 @@ export interface Request extends IncomingMessage { } export interface HandlerCallback { - (req: Request, res: Response): void; + (req: Request, res: Response, next?:HandlerFunction): void; } type RequestMethod =