Skip to content

Commit 2d212ab

Browse files
committed
Fix to make options types optional
1 parent 3b1ecad commit 2d212ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* @typedef {Literal & {type: 'comment', value: {stitch: UnistNode}}} Stitch
2121
*
2222
* @typedef Options
23-
* @property {Array.<string>} passThrough List of custom hast node types to pass through (keep) in hast. If the passed through nodes have children, those children are expected to be hast and will be handled
23+
* @property {Array.<string>} [passThrough] List of custom hast node types to pass through (keep) in hast. If the passed through nodes have children, those children are expected to be hast and will be handled
2424
*
2525
* @typedef HiddenTokenizer
2626
* @property {Array.<HiddenLocationTracker>} __mixins Way too simple, but works for us.

0 commit comments

Comments
 (0)