mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
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:
Vendored
+1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user