We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bd8878 commit 0bfda32Copy full SHA for 0bfda32
src/traversal.js
@@ -14,7 +14,7 @@ import { base58btc } from 'multiformats/bases/base58'
14
* @param {Object} options
15
* @param {CID} options.cid
16
* @param {(cid: CID) => Promise<Block<T>|null>} options.load
17
- * @param {Set<string>?} options.seen
+ * @param {Set<string>} [options.seen]
18
*/
19
const walk = async ({ cid, load, seen }) => {
20
seen = seen || new Set()
0 commit comments