File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
* @typedef {import('unist').Literal } Literal
6
6
* @typedef {import('unist').Position } Position
7
7
* @typedef {import('unist').Point } Point
8
- * @typedef {Node & {children: never, value: never} } Void
8
+ * @typedef {Node & {children: never, value: never} } _Void
9
9
*/
10
10
11
11
import nodeAssert from 'assert'
@@ -53,7 +53,7 @@ export function literal(node, parent) {
53
53
*
54
54
* @param {unknown } [node]
55
55
* @param {Parent } [parent]
56
- * @returns {asserts node is Void }
56
+ * @returns {asserts node is _Void }
57
57
*/
58
58
export function _void ( node , parent ) {
59
59
return wrap ( assertVoid ) ( node , parent )
@@ -231,7 +231,7 @@ function assertLiteral(node) {
231
231
* Assert `node` is a unist node, but neither parent nor literal.
232
232
*
233
233
* @param {Node } node
234
- * @returns {asserts node is Void }
234
+ * @returns {asserts node is _Void }
235
235
*/
236
236
function assertVoid ( node ) {
237
237
assertNode ( node )
You can’t perform that action at this time.
0 commit comments