mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-26 12:10:44 +08:00
http.RequestOptions.agent can also be a boolean
https://nodejs.org/api/http.html#http_http_request_options_callback
This commit is contained in:
1 parent
78ba6e4154
commit
1ebf010a1e
2 files changed
+11
-1
No files matched your search
Vendored
+1
-1
@@ -453,7 +453,7 @@ declare module "http" {
|
||||
path?: string;
|
||||
headers?: { [key: string]: any };
|
||||
auth?: string;
|
||||
agent?: Agent;
|
||||
agent?: Agent|boolean;
|
||||
}
|
||||
|
||||
export interface Server extends events.EventEmitter {
|
||||
|
||||
Reference in new issue
Block a user