Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript https agent error #71

Closed
AndrewLeedham opened this issue Feb 7, 2019 · 0 comments · Fixed by #72
Closed

TypeScript https agent error #71

AndrewLeedham opened this issue Feb 7, 2019 · 0 comments · Fixed by #72

Comments

@AndrewLeedham
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant