Skip to content

Commit e39fc2a

Browse files
committed
fix: use [] to mark optional option
1 parent a4eaf7b commit e39fc2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traversal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { base58btc } from 'multiformats/bases/base58'
1414
* @param {Object} options
1515
* @param {CID} options.cid
1616
* @param {(cid: CID) => Promise<Block<T>>} options.load
17-
* @param {Set<string>?} options.seen
17+
* @param {Set<string>} [options.seen]
1818
*/
1919
const walk = async ({ cid, load, seen }) => {
2020
seen = seen || new Set()

0 commit comments

Comments
 (0)