From 44db89c20b3bb5ba1541445a2ee9145cf66ed715 Mon Sep 17 00:00:00 2001 From: James Power Date: Tue, 11 Oct 2016 12:21:58 +0100 Subject: [PATCH] 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 --- superagent/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/superagent/index.d.ts b/superagent/index.d.ts index 1a91cf76f3..570ad59eb1 100644 --- a/superagent/index.d.ts +++ b/superagent/index.d.ts @@ -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;