mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
18 lines
497 B
TypeScript
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;
|