mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
request.d.ts: fixing RequestAPI.Options.form type
This commit is contained in:
parent
b0b4af1223
commit
9be7aba212
@ -69,7 +69,7 @@ var options: request.Options = {
|
||||
|
||||
},
|
||||
jar: value,
|
||||
form: value,
|
||||
form: obj,
|
||||
oauth: value,
|
||||
aws: aws,
|
||||
qs: obj,
|
||||
|
||||
2
request/request.d.ts
vendored
2
request/request.d.ts
vendored
@ -61,7 +61,7 @@ declare module 'request' {
|
||||
uri?: string;
|
||||
callback?: (error: any, response: any, body: any) => void;
|
||||
jar?: any; // CookieJar
|
||||
form?: FormData;
|
||||
form?: any; // Object or string
|
||||
oauth?: OAuthOptions;
|
||||
aws?: AWSOptions;
|
||||
hawk ?: HawkOptions;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user