mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 15:27:05 +00:00
Merge pull request #26515 from josecolella/bugfix/add-family-type-to-core-options
Add optional family type to CoreOptions. @types/request
This commit is contained in:
Vendored
+2
@@ -7,6 +7,7 @@
|
||||
// Christopher Currens <https://github.com/ccurrens>,
|
||||
// Jon Stevens <https://github.com/lookfirst>,
|
||||
// Matt R. Wilson <https://github.com/mastermatt>
|
||||
// Jose Colella <https://github.com/josecolella>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
@@ -139,6 +140,7 @@ declare namespace request {
|
||||
method?: string;
|
||||
headers?: Headers;
|
||||
body?: any;
|
||||
family?: 4 | 6;
|
||||
followRedirect?: boolean | ((response: http.IncomingMessage) => boolean);
|
||||
followAllRedirects?: boolean;
|
||||
followOriginalHttpMethod?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user