source: trip-planner-front/node_modules/agent-base/dist/src/promisify.d.ts@ 8d391a1

Last change on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 299 bytes
Line 
1import { ClientRequest, RequestOptions, AgentCallbackCallback, AgentCallbackPromise } from './index';
2declare type LegacyCallback = (req: ClientRequest, opts: RequestOptions, fn: AgentCallbackCallback) => void;
3export default function promisify(fn: LegacyCallback): AgentCallbackPromise;
4export {};
Note: See TracBrowser for help on using the repository browser.