Skip to content

Commit 7d8d2b0

Browse files
committed
Fix types for changes in @types/unist
1 parent 0a2266d commit 7d8d2b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/util.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import {convertElement} from 'hast-util-is-element'
1212
* @returns {node is Parent}
1313
*/
1414
export function parent(node) {
15+
// @ts-expect-error: hush.
1516
return Array.isArray(node.children)
1617
}
1718

0 commit comments

Comments
 (0)