File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 11/**
2- * @typedef {import('estree-jsx').Program } Program
3- *
42 * @typedef {import('mdast-util-from-markdown').CompileContext } CompileContext
53 * @typedef {import('mdast-util-from-markdown').Extension } FromMarkdownExtension
64 * @typedef {import('mdast-util-from-markdown').Handle } FromMarkdownHandle
@@ -284,8 +282,6 @@ export function mdxJsxFromMarkdown() {
284282 const tail = /** @type {MdxJsxExpressionAttribute } */ (
285283 tag . attributes [ tag . attributes . length - 1 ]
286284 )
287- /** @type {Program | undefined } */
288- // @ts -expect-error: custom.
289285 const estree = token . estree
290286
291287 tail . value = this . resume ( )
@@ -342,8 +338,6 @@ export function mdxJsxFromMarkdown() {
342338 )
343339 /** @type {MdxJsxAttributeValueExpression } */
344340 const node = { type : 'mdxJsxAttributeValueExpression' , value : this . resume ( ) }
345- /** @type {Program | undefined } */
346- // @ts -expect-error: custom.
347341 const estree = token . estree
348342
349343 if ( estree ) {
You can’t perform that action at this time.
0 commit comments