I am getting a TS error when using agentkeepalive with got. It seems the index.d.ts file is differnet from the implementation.
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
I am getting a TS error when using agentkeepalive with got. It seems the
index.d.ts
file is differnet from the implementation.The TS decleration seems to imply
HttpsClient
extendsHttpClient
which intern extendshttp.Agent
, but it seems they are seperate asHttpsClient
extends https.Agent andHttpClient
extends http.Agent