Skip to content

Commit 515c86c

Browse files
committed
Fix typo in types
1 parent a574921 commit 515c86c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export default function rehypeDocument(options) {
7979
* Tree.
8080
* @param {VFile} file
8181
* File.
82-
* @param {Root} tree
82+
* @returns {Root}
8383
* New tree.
8484
*/
8585
return function (tree, file) {
@@ -174,6 +174,6 @@ function toList(value) {
174174
return value === null || value === undefined
175175
? []
176176
: Array.isArray(value)
177-
? value
178-
: [value]
177+
? value
178+
: [value]
179179
}

0 commit comments

Comments
 (0)