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;