js-draw
Version:
Draw pictures using a pen, touchscreen, or mouse! JS-draw is a drawing library for JavaScript and TypeScript.
9 lines (8 loc) • 311 B
TypeScript
/**
* Resolves when all given promises have resolved. If no promises are given,
* does not return a Promise.
*
* If all elements of `results` are known to be `Promise`s, use `Promise.all`.
*/
declare const waitForAll: (results: (Promise<void> | void)[]) => Promise<void> | void;
export default waitForAll;