Skip to content

Commit 4cde52a

Browse files
committed
Remove unneeded `ts-expect-error
1 parent dd78347 commit 4cde52a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
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
@@ -73,8 +71,6 @@ function enterMdxTextExpression(token) {
7371
*/
7472
function exitMdxExpression(token) {
7573
const value = this.resume()
76-
/** @type {Program | undefined} */
77-
// @ts-expect-error: estree.
7874
const estree = token.estree
7975
const node = /** @type {MdxFlowExpression | MdxTextExpression} */ (
8076
this.exit(token)

0 commit comments

Comments
 (0)