File tree 2 files changed +3
-2
lines changed 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
2
* @typedef {import('mdast').BlockContent } BlockContent
3
+ * @typedef {import('mdast').Root } Root
3
4
* @typedef {import('mdast').Paragraph } Paragraph
4
5
* @typedef {import('mdast-util-from-markdown').Handle } FromMarkdownHandle
5
6
* @typedef {import('mdast-util-from-markdown').Extension } FromMarkdownExtension
@@ -390,7 +391,7 @@ function fence(node) {
390
391
391
392
return ':' . repeat ( size )
392
393
393
- /** @type {import('unist-util-visit-parents').Visitor< Directive> } */
394
+ /** @type {import('unist-util-visit-parents/complex-types ').BuildVisitor<Root, Directive> } */
394
395
function onvisit ( _ , parents ) {
395
396
let index = parents . length
396
397
let nesting = 0
Original file line number Diff line number Diff line change 55
55
"type-coverage" : " ^2.0.0" ,
56
56
"typescript" : " ^4.0.0" ,
57
57
"unist-util-remove-position" : " ^4.0.0" ,
58
- "xo" : " ^0.44 .0"
58
+ "xo" : " ^0.45 .0"
59
59
},
60
60
"scripts" : {
61
61
"build" : " rimraf \" {index,test}.d.ts\" && tsc && type-coverage" ,
You can’t perform that action at this time.
0 commit comments