We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@types/unist
1 parent 0a2266d commit 7d8d2b0Copy full SHA for 7d8d2b0
lib/util.js
@@ -12,6 +12,7 @@ import {convertElement} from 'hast-util-is-element'
12
* @returns {node is Parent}
13
*/
14
export function parent(node) {
15
+ // @ts-expect-error: hush.
16
return Array.isArray(node.children)
17
}
18
0 commit comments