diff --git a/@vates/async-each/index.js b/@vates/async-each/index.js index adf3cd5c774..a73496e32b1 100644 --- a/@vates/async-each/index.js +++ b/@vates/async-each/index.js @@ -11,8 +11,8 @@ class AggregateError extends Error { /** * @template Item - * @param {Iterable} iterable - * @param {(item: Item, index: number, iterable: Iterable) => Promise} iteratee + * @param {Iterable|AsyncIterable} iterable + * @param {(item: Item, index: number, iterable: Iterable|AsyncIterable) => Promise} iteratee * @returns {Promise} */ exports.asyncEach = function asyncEach(iterable, iteratee, { concurrency = 10, signal, stopOnError = true } = {}) {