1 | // Type definitions for universalify 1.0
|
2 | // Project: https://github.com/RyanZim/universalify#readme
|
3 | // Definitions by: Richie Bendall <https://github.com/Richienb>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | export function fromCallback(fn: (...args: any[]) => any): (...args: any[]) => Promise<any> | void;
|
7 | export function fromPromise(fn: (...args: any[]) => any): (...args: any[]) => Promise<any> | void;
|