Skip to content

Commit

Permalink
feat(typescript): Allow input to be options or string (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhowe76 authored and TooTallNate committed Jun 5, 2019
1 parent c5c4ffc commit 13917f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -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
Expand Down

0 comments on commit 13917f6

Please sign in to comment.