make express.Application compatible with http.createServer

This commit is contained in:
Marcel Haldemann
2016-08-17 19:12:21 +02:00
parent 3a056e3864
commit dcaf000f89
+1 -1
View File
@@ -22,7 +22,7 @@ declare module "express-serve-static-core" {
}
interface RequestHandler {
(req: Request, res: Response, next: NextFunction): any;
(req: Request, res: Response, next?: NextFunction): any;
}
interface ErrorRequestHandler {