refactor: Update function parameters in remarkHeadingId plugin

This commit is contained in:
Gauthier Daniels 2025-04-20 00:35:16 +02:00
parent 29a2246ef3
commit 9569049e61

View File

@ -140,7 +140,7 @@ const formatExportNode = (): MDXJSEsm => {
};
};
const remarkHeadingId: Plugin<[], Root> = () => (tree: Root, file) => {
const remarkHeadingId: Plugin<[], Root> = () => (tree: Root) => {
const slugify = slugifyWithCounter();
visit(tree, "heading", (node) => {