mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
Update request.d.ts
Make formData optional.
This commit is contained in:
Vendored
+1
-1
@@ -62,7 +62,7 @@ declare module 'request' {
|
||||
uri?: string;
|
||||
callback?: (error: any, response: http.IncomingMessage, body: any) => void;
|
||||
jar?: any; // CookieJar
|
||||
formData: any; // Object
|
||||
formData?: any; // Object
|
||||
form?: any; // Object or string
|
||||
auth?: AuthOptions;
|
||||
oauth?: OAuthOptions;
|
||||
|
||||
Reference in New Issue
Block a user