From 748eb05ce0dcf65932d3742d878dfe7c59f9b044 Mon Sep 17 00:00:00 2001 From: Donald Pipowitch Date: Mon, 20 Nov 2017 09:31:16 +0100 Subject: [PATCH] fixes #21371 --- types/express-serve-static-core/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/express-serve-static-core/index.d.ts b/types/express-serve-static-core/index.d.ts index 9119c8497f..2f8d862b14 100644 --- a/types/express-serve-static-core/index.d.ts +++ b/types/express-serve-static-core/index.d.ts @@ -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.