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