Skip to content

Commit

Permalink
fix: HttpsAgent Type Definition (#71) (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewLeedham authored and fengmk2 committed Feb 12, 2019
1 parent f48a4a7 commit bad1ac0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.d.ts
Expand Up @@ -38,8 +38,11 @@ declare module "agentkeepalive" {
}

namespace internal {
export class HttpsAgent extends internal {
export class HttpsAgent extends https.Agent {
constructor(opts?: HttpsOptions);
readonly statusChanged: boolean;
createSocket(req: http.IncomingMessage, options: https.RequestOptions, cb: Function): void;
getCurrentStatus(): AgentStatus;
}
}

Expand Down

0 comments on commit bad1ac0

Please sign in to comment.