Skip to content

Commit bad1ac0

Browse files
AndrewLeedhamfengmk2
authored andcommitted
fix: HttpsAgent Type Definition (#71) (#72)
1 parent f48a4a7 commit bad1ac0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,11 @@ declare module "agentkeepalive" {
3838
}
3939

4040
namespace internal {
41-
export class HttpsAgent extends internal {
41+
export class HttpsAgent extends https.Agent {
4242
constructor(opts?: HttpsOptions);
43+
readonly statusChanged: boolean;
44+
createSocket(req: http.IncomingMessage, options: https.RequestOptions, cb: Function): void;
45+
getCurrentStatus(): AgentStatus;
4346
}
4447
}
4548

0 commit comments

Comments
 (0)