request.d.ts: fixing RequestAPI.Options.form type

This commit is contained in:
Steve 2014-09-23 09:43:01 +02:00
parent b0b4af1223
commit 9be7aba212
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ var options: request.Options = {
},
jar: value,
form: value,
form: obj,
oauth: value,
aws: aws,
qs: obj,

View File

@ -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;