File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ export function toMdast(tree, options = {}) {
131131 * ignored.
132132 * So clean up.
133133 *
134- * @type {import('unist-util-visit').Visitor<Text > }
134+ * @type {import('unist-util-visit/complex-types ').BuildVisitor<MdastRoot, 'text' > }
135135 */
136136 function ontext ( node , index , parent ) {
137137 /* c8 ignore next 3 */
@@ -142,7 +142,6 @@ export function toMdast(tree, options = {}) {
142142 const previous = parent . children [ index - 1 ]
143143
144144 if ( previous && previous . type === node . type ) {
145- // @ts -expect-error: Looks like a literal.
146145 previous . value += node . value
147146 parent . children . splice ( index , 1 )
148147
Original file line number Diff line number Diff line change 6060 "prettier" : " ^2.0.0" ,
6161 "rehype-parse" : " ^8.0.0" ,
6262 "remark-cli" : " ^10.0.0" ,
63- "remark-gfm" : " ^2 .0.0" ,
63+ "remark-gfm" : " ^3 .0.0" ,
6464 "remark-parse" : " ^10.0.0" ,
6565 "remark-preset-wooorm" : " ^9.0.0" ,
6666 "remark-stringify" : " ^10.0.0" ,
7171 "unified" : " ^10.0.0" ,
7272 "unist-builder" : " ^3.0.0" ,
7373 "unist-util-remove-position" : " ^4.0.0" ,
74- "xo" : " ^0.44 .0"
74+ "xo" : " ^0.45 .0"
7575 },
7676 "scripts" : {
7777 "prepack" : " npm run build && npm run format" ,
You can’t perform that action at this time.
0 commit comments