summaryrefslogtreecommitdiff
path: root/packages/markdown/remark/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/markdown/remark/src')
-rw-r--r--packages/markdown/remark/src/rehype-collect-headings.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/markdown/remark/src/rehype-collect-headings.ts b/packages/markdown/remark/src/rehype-collect-headings.ts
index a1083f609..19963cb80 100644
--- a/packages/markdown/remark/src/rehype-collect-headings.ts
+++ b/packages/markdown/remark/src/rehype-collect-headings.ts
@@ -1,7 +1,8 @@
import { type Expression, type Super } from 'estree';
import Slugger from 'github-slugger';
import { type MdxTextExpression } from 'mdast-util-mdx-expression';
-import { visit, type Node } from 'unist-util-visit';
+import { type Node } from 'unist';
+import { visit } from 'unist-util-visit';
import { InvalidAstroDataError, safelyGetAstroData } from './frontmatter-injection.js';
import type { MarkdownAstroData, MarkdownHeading, MarkdownVFile, RehypePlugin } from './types.js';