Skip to content

Commit 13917f6

Browse files
ianhowe76TooTallNate
authored andcommitted
feat(typescript): Allow input to be options or string (#68)
1 parent c5c4ffc commit 13917f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ declare module 'https-proxy-agent' {
1515

1616
// HttpsProxyAgent doesnt *actually* extend https.Agent, but for my purposes I want it to pretend that it does
1717
class HttpsProxyAgent extends https.Agent {
18-
constructor(opts: HttpsProxyAgent.HttpsProxyAgentOptions)
18+
constructor(opts: HttpsProxyAgent.HttpsProxyAgentOptions | string)
1919
}
2020

2121
export = HttpsProxyAgent

0 commit comments

Comments
 (0)