From 10bf29ef42e442d1a8a496c79c2a923fb1cb7d7d Mon Sep 17 00:00:00 2001 From: Balthasar Hofer Date: Thu, 7 Nov 2024 15:17:13 +0000 Subject: [PATCH] remove unused type --- .../docusaurus-mdx-loader/src/remark/transformLinks/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docusaurus-mdx-loader/src/remark/transformLinks/index.ts b/packages/docusaurus-mdx-loader/src/remark/transformLinks/index.ts index ca88432ce07e..46032dcb624b 100644 --- a/packages/docusaurus-mdx-loader/src/remark/transformLinks/index.ts +++ b/packages/docusaurus-mdx-loader/src/remark/transformLinks/index.ts @@ -216,7 +216,7 @@ const plugin: Plugin = function plugin( }; const promises: Promise[] = []; - visit(root, 'link', (node: Link, index, parent) => { + visit(root, 'link', (node, index, parent) => { if (!parent || index === undefined) { return; }