File tree 3 files changed +569
-538
lines changed
3 files changed +569
-538
lines changed Original file line number Diff line number Diff line change 1
1
declare module 'https-proxy-agent' {
2
- import * as https from 'https'
2
+ import * as https from 'https' ;
3
3
4
- namespace HttpsProxyAgent {
5
- interface HttpsProxyAgentOptions {
6
- host : string
7
- port : number | string
8
- secureProxy ?: boolean
9
- headers ?: {
10
- [ key : string ] : string
11
- }
12
- [ key : string ] : any
13
- }
14
- }
15
-
16
- // HttpsProxyAgent doesnt *actually* extend https.Agent, but for my purposes I want it to pretend that it does
17
- class HttpsProxyAgent extends https . Agent {
18
- constructor ( opts : HttpsProxyAgent . HttpsProxyAgentOptions | string )
19
- }
4
+ namespace HttpsProxyAgent {
5
+ interface HttpsProxyAgentOptions {
6
+ host : string ;
7
+ port : number | string ;
8
+ secureProxy ?: boolean ;
9
+ headers ?: {
10
+ [ key : string ] : string ;
11
+ } ;
12
+ [ key : string ] : any ;
13
+ }
14
+ }
20
15
21
- export = HttpsProxyAgent
16
+ // HttpsProxyAgent doesnt *actually* extend https.Agent, but for my purposes I want it to pretend that it does
17
+ class HttpsProxyAgent extends https . Agent {
18
+ constructor ( opts : HttpsProxyAgent . HttpsProxyAgentOptions | string ) ;
19
+ }
20
+
21
+ export = HttpsProxyAgent ;
22
22
}
You can’t perform that action at this time.
0 commit comments