Update index.d.ts

The definition is missing an unset method found in superagent here https://github.com/visionmedia/superagent/blob/master/lib/request-base.js
This commit is contained in:
James Power
2016-10-11 12:21:58 +01:00
committed by GitHub
parent 64c60d078f
commit 44db89c20b

View File

@@ -104,6 +104,7 @@ declare namespace request {
set(field: Object): this;
timeout(ms: number): this;
type(val: string): this;
unset(field: string): this;
use(fn: Function): this;
withCredentials(): this;
write(data: string, encoding?: string): this;