diff --git a/lib/Agent.d.ts b/lib/Agent.d.ts new file mode 100644 index 0000000..84e280a --- /dev/null +++ b/lib/Agent.d.ts @@ -0,0 +1,12 @@ +import * as https from 'https' +declare interface AgentOptions extends https.AgentOptions{ + socksHost?: string; + socksPort?: number; +} +declare class Agent extends https.Agent{ + constructor(options?: AgentOptions); + options: AgentOptions; + socksHost: string; + socksPort: number; +} +export = Agent