misskey/src/@types/promise-any.d.ts
2019-01-31 17:52:27 +09:00

8 lines
167 B
TypeScript

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