From 93766b3bb0b5935ca6a11de009a217cb922bd6cf Mon Sep 17 00:00:00 2001 From: JounQin Date: Sat, 16 Dec 2023 23:47:00 +0800 Subject: [PATCH] chore: remove unnecessary `Code` type --- packages/eslint-mdx/src/worker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-mdx/src/worker.ts b/packages/eslint-mdx/src/worker.ts index 2322c2b..8872cc8 100644 --- a/packages/eslint-mdx/src/worker.ts +++ b/packages/eslint-mdx/src/worker.ts @@ -437,7 +437,7 @@ runAsWorker( } function handleNode( - node: BlockContent | Code | Literal | Paragraph | PhrasingContent, + node: BlockContent | Literal | Paragraph | PhrasingContent, ) { if (node.type === 'paragraph') { return handleChildren(node)