Skip to content

TypeScript https agent error #71

Closed
@AndrewLeedham

Description

@AndrewLeedham

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions