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