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