12 lines
294 B
TypeScript
12 lines
294 B
TypeScript
|
import { Request } from 'popsicle';
|
||
|
declare function proxy(options?: proxy.Options): (request: Request) => void;
|
||
|
declare namespace proxy {
|
||
|
interface Options {
|
||
|
proxy?: string;
|
||
|
httpProxy?: string;
|
||
|
httpsProxy?: string;
|
||
|
noProxy?: string;
|
||
|
}
|
||
|
}
|
||
|
export = proxy;
|