diff --git a/index.d.ts b/index.d.ts index 45218b86..7b9e2b16 100644 --- a/index.d.ts +++ b/index.d.ts @@ -15,7 +15,7 @@ declare module 'https-proxy-agent' { // HttpsProxyAgent doesnt *actually* extend https.Agent, but for my purposes I want it to pretend that it does class HttpsProxyAgent extends https.Agent { - constructor(opts: HttpsProxyAgent.HttpsProxyAgentOptions) + constructor(opts: HttpsProxyAgent.HttpsProxyAgentOptions | string) } export = HttpsProxyAgent