From 3afcfa75a94e3f7a9f24fc880c6dbeec8c47f658 Mon Sep 17 00:00:00 2001 From: mathias hansen Date: Wed, 19 Oct 2016 16:22:42 +0200 Subject: [PATCH] Add Object to send body type (#16) --- lib/response.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/response.d.ts b/lib/response.d.ts index 8a7f817..733dbd0 100644 --- a/lib/response.d.ts +++ b/lib/response.d.ts @@ -65,7 +65,7 @@ declare namespace res { * res.send(404, 'Sorry, cant find that'); * res.send(404); */ - send(body: string | Buffer): this; + send(body: string | Buffer | Object): this; /** * Send JSON response.