summaryrefslogtreecommitdiff
path: root/node_modules/agent-base/dist/src/promisify.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/agent-base/dist/src/promisify.d.ts')
-rw-r--r--node_modules/agent-base/dist/src/promisify.d.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/node_modules/agent-base/dist/src/promisify.d.ts b/node_modules/agent-base/dist/src/promisify.d.ts
new file mode 100644
index 0000000..0268869
--- /dev/null
+++ b/node_modules/agent-base/dist/src/promisify.d.ts
@@ -0,0 +1,4 @@
+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 {};