node-modules/agentkeepalive

TypeScript https agent error

AndrewLeedham opened this issue · 0 comments

I am getting a TS error when using agentkeepalive with got. It seems the index.d.ts file is differnet from the implementation.
image

The TS decleration seems to imply HttpsClient extends HttpClient which intern extends http.Agent, but it seems they are seperate as HttpsClient extends https.Agent and HttpClient extends http.Agent