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

8 lines
167 B
TypeScript

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