File tree 1 file changed +6
-10
lines changed
1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -30,21 +30,17 @@ declare module "agentkeepalive" {
30
30
socketActiveTTL ?: number ;
31
31
}
32
32
33
- class internal extends http . Agent {
33
+ export default class HttpAgent extends http . Agent {
34
34
constructor ( opts ?: HttpOptions ) ;
35
35
readonly statusChanged : boolean ;
36
36
createSocket ( req : http . IncomingMessage , options : http . RequestOptions , cb : Function ) : void ;
37
37
getCurrentStatus ( ) : AgentStatus ;
38
38
}
39
39
40
- namespace internal {
41
- export class HttpsAgent extends https . Agent {
42
- constructor ( opts ?: HttpsOptions ) ;
43
- readonly statusChanged : boolean ;
44
- createSocket ( req : http . IncomingMessage , options : https . RequestOptions , cb : Function ) : void ;
45
- getCurrentStatus ( ) : AgentStatus ;
46
- }
40
+ export class HttpsAgent extends https . Agent {
41
+ constructor ( opts ?: HttpsOptions ) ;
42
+ readonly statusChanged : boolean ;
43
+ createSocket ( req : http . IncomingMessage , options : https . RequestOptions , cb : Function ) : void ;
44
+ getCurrentStatus ( ) : AgentStatus ;
47
45
}
48
-
49
- export = internal ;
50
46
}
You can’t perform that action at this time.
0 commit comments