Skip to content

Commit 4296770

Browse files
committed
Prettier
1 parent eecea74 commit 4296770

File tree

3 files changed

+569
-538
lines changed

3 files changed

+569
-538
lines changed

index.d.ts

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
declare module 'https-proxy-agent' {
2-
import * as https from 'https'
2+
import * as https from 'https';
33

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+
}
2015

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;
2222
}

0 commit comments

Comments
 (0)