From 60e962e80419e033db93bb98c400242988418a72 Mon Sep 17 00:00:00 2001 From: Connor Wyatt Date: Thu, 2 Jun 2016 16:14:06 +0100 Subject: [PATCH] Express' send method can be called with no parameters (#9502) * Modified call signature of Sinon's calledWithNew method to no longer take a parameter * Express' send method can be called with no parameters --- express-serve-static-core/express-serve-static-core.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/express-serve-static-core/express-serve-static-core.d.ts b/express-serve-static-core/express-serve-static-core.d.ts index 70817018a9..2662222d00 100644 --- a/express-serve-static-core/express-serve-static-core.d.ts +++ b/express-serve-static-core/express-serve-static-core.d.ts @@ -408,7 +408,7 @@ declare module "express-serve-static-core" { interface Send { (status: number, body?: any): Response; - (body: any): Response; + (body?: any): Response; } interface Response extends http.ServerResponse, Express.Response {