1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-01-11 01:44:50 +00:00
musix-oss/node_modules/agent-base/dist/src/promisify.d.ts
2020-03-03 22:30:50 +02:00

5 lines
299 B
TypeScript

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 {};