@types/superagent
Version:
TypeScript definitions for superagent
15 lines (11 loc) • 321 B
TypeScript
import Response = require("./lib/node/response");
import { UrlObject } from "url";
export interface AgentOptions {
ca?: any;
key?: any;
pfx?: any;
cert?: any;
rejectUnauthorized?: boolean;
}
export type CBHandler = (err: any, res: Response) => void;
export type URLType = string | URL | UrlObject;