Merge pull request #10559 from OliverJAsh/patch-3

superagent typings: make buffer parameter optional
This commit is contained in:
Nathan Shively-Sanders
2016-08-11 11:29:55 -07:00
committed by GitHub
+1 -1
View File
@@ -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;