1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-01-11 04:54:48 +00:00
musix-oss/node_modules/agent-base/dist/src/promisify.d.ts

5 lines
299 B
TypeScript
Raw Normal View History

2020-03-03 20:30:50 +00:00
import { ClientRequest, RequestOptions, AgentCallbackCallback, AgentCallbackPromise } from './index';
declare type LegacyCallback = (req: ClientRequest, opts: RequestOptions, fn: AgentCallbackCallback) => void;
export default function promisify(fn: LegacyCallback): AgentCallbackPromise;
export {};