From 07ed875ab9e816d85d28f5f3c73266f07cc090f2 Mon Sep 17 00:00:00 2001 From: Leo Liang Date: Fri, 2 Nov 2018 16:40:28 +0800 Subject: [PATCH] [request] update agentOptions --- types/request/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/request/index.d.ts b/types/request/index.d.ts index 676156daaa..6a392db78c 100644 --- a/types/request/index.d.ts +++ b/types/request/index.d.ts @@ -134,7 +134,7 @@ declare namespace request { jsonReplacer?: (key: string, value: any) => any; multipart?: RequestPart[] | Multipart; agent?: http.Agent | https.Agent; - agentOptions?: SecureContextOptions; + agentOptions?: http.AgentOptions | https.AgentOptions | SecureContextOptions; agentClass?: any; forever?: any; host?: string;