This commit is contained in:
Donald Pipowitch
2017-11-20 09:31:16 +01:00
committed by GitHub
parent a4c2d3c7de
commit 748eb05ce0

View File

@@ -820,7 +820,7 @@ export interface Application extends IRouter, Express.Application {
* Express instance itself is a request handler, which could be invoked without
* third argument.
*/
(req: Request, res: Response): any;
(req: Request | http.IncomingMessage, res: Response | http.ServerResponse): any;
/**
* Initialize the server.