Merge pull request #2864 from stkb/request

request.d.ts: fixing RequestAPI.Options.form type
This commit is contained in:
Masahiro Wakame
2014-09-25 00:54:54 +09:00
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;