mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
8 lines
431 B
TypeScript
8 lines
431 B
TypeScript
// Type definitions for universalify 0.1
|
|
// Project: https://github.com/RyanZim/universalify#readme
|
|
// Definitions by: Richie Bendall <https://github.com/Richienb>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export function fromCallback(fn: (...args: any[]) => any): (...args: any[]) => Promise<any> | void;
|
|
export function fromPromise(fn: (...args: any[]) => any): (...args: any[]) => Promise<any> | void;
|