mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-29 00:18:20 +08: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:
1
superagent/index.d.ts
vendored
1
superagent/index.d.ts
vendored
@@ -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