DefinitelyTyped/types/superagent-proxy/index.d.ts
2020-01-17 14:29:06 -05:00

18 lines
497 B
TypeScript

// Type definitions for superagent-proxy 2.0
// Project: https://github.com/TooTallNate/superagent-proxy#readme
// Definitions by: Daniel Imhoff <https://github.com/dwieeb>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
import * as superagent from 'superagent';
declare module 'superagent' {
interface Request {
proxy(url: string): this;
}
}
declare function superagentProxy(s: typeof superagent): void;
export = superagentProxy;