16 lines
352 B
TypeScript
16 lines
352 B
TypeScript
|
import { Agent, AgentOptions } from 'agent-base';
|
||
|
|
||
|
declare module ProxyAgent {
|
||
|
interface ProxyAgent extends Agent {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
declare const proxy: ProxyAgentConstructor;
|
||
|
|
||
|
interface ProxyAgentConstructor {
|
||
|
(options?: AgentOptions | string): ProxyAgent.ProxyAgent;
|
||
|
new (options?: AgentOptions | string): ProxyAgent.ProxyAgent;
|
||
|
}
|
||
|
|
||
|
export = proxy;
|