declare module 'https-proxy-agent' { import * as https from 'https'; namespace HttpsProxyAgent { interface HttpsProxyAgentOptions { host: string; port: number | string; secureProxy?: boolean; headers?: { [key: string]: string; }; [key: string]: any; } } // HttpsProxyAgent doesnt *actually* extend https.Agent, but for my purposes I want it to pretend that it does class HttpsProxyAgent extends https.Agent { constructor(opts: HttpsProxyAgent.HttpsProxyAgentOptions | string); } export = HttpsProxyAgent; }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.github | Folder | 0755 |
|
|
node_modules | Folder | 0755 |
|
|
.editorconfig | File | 715 B | 0644 |
|
.eslintrc.js | File | 2.87 KB | 0644 |
|
README.md | File | 4.65 KB | 0644 |
|
index.d.ts | File | 545 B | 0644 |
|
index.js | File | 6.2 KB | 0644 |
|
package.json | File | 3.58 KB | 0644 |
|