Skip to content

Commit 5743ee5

Browse files
committed
Fix tests for changes in @types/unist
1 parent 4421770 commit 5743ee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ function castFactory(check) {
225225
/**
226226
* Utility to return true if this is an element.
227227
* @param {unknown} node
228-
* @returns {boolean}
228+
* @returns {node is Element}
229229
*/
230230
function element(node) {
231231
return Boolean(

0 commit comments

Comments
 (0)