UNPKG

335 BTypeScriptView Raw
1// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
2export function fromCallback(fn: (...args: any[]) => any): (...args: any[]) => Promise<any> | void;
3// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
4export function fromPromise(fn: (...args: any[]) => any): (...args: any[]) => Promise<any> | void;