diff --git a/index.d.ts b/index.d.ts index 1ef5de8..b3dd972 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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; } }