diff --git a/src/files/glob-source.js b/src/files/glob-source.js index 1837778..6141fe8 100644 --- a/src/files/glob-source.js +++ b/src/files/glob-source.js @@ -18,12 +18,12 @@ const errCode = require('err-code') * @param {boolean} [options.preserveMtime] - preserve mtime * @param {number} [options.mode] - mode to use - if preserveMode is true this will be ignored * @param {import('ipfs-unixfs').MtimeLike} [options.mtime] - mtime to use - if preserveMtime is true this will be ignored - * @return {AsyncGenerator<{ + * @return {AsyncIterable<{ * path: string; * content: AsyncIterable | undefined; * mode: number | undefined; * mtime: import("ipfs-unixfs/types/src/types").MtimeLike | undefined; - * }, void, unknown>} File objects that match glob + * }>} File objects that match glob */ module.exports = async function * globSource (cwd, pattern, options) { options = options || {}