From 247c4be0b7939a5558f9ff485f9a8abe6085b9d0 Mon Sep 17 00:00:00 2001 From: Oliver Joseph Ash Date: Thu, 11 Aug 2016 09:54:15 +0100 Subject: [PATCH] superagent typings: make buffer parameter optional --- superagent/superagent.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superagent/superagent.d.ts b/superagent/superagent.d.ts index f7ab4c88c9..1d89adeb6b 100644 --- a/superagent/superagent.d.ts +++ b/superagent/superagent.d.ts @@ -85,7 +85,7 @@ declare module "superagent" { accept(type: string): this; attach(field: string, file: string, filename?: string): this; auth(user: string, name: string): this; - buffer(val: boolean): this; + buffer(val?: boolean): this; clearTimeout(): this; end(callback?: CallbackHandler): this; field(name: string, val: string): this;