Sharkey/src/@types/promise-any.d.ts

8 lines
167 B
TypeScript
Raw Normal View History

declare module 'promise-any' {
function promiseAny<T>(iterable: Iterable<T | PromiseLike<T>>): Promise<T>;
namespace promiseAny {} // Hack
export = promiseAny;
}