Files
k8s-deploy/node_modules/agent-base/dist/src/promisify.d.ts
T
github-actions[bot] 08d466b6ab Add node modules and compiled JavaScript from main (#172)
Co-authored-by: Oliver King <oking3@uncc.edu>
2022-02-09 17:16:49 -05: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 {};