Skip to content

Commit

Permalink
fix docs site build
Browse files Browse the repository at this point in the history
  • Loading branch information
hayes committed Apr 17, 2024
1 parent 0e699b4 commit af49ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/util/build-index.ts
Expand Up @@ -11,7 +11,7 @@ import { loadDocsFiles, MDXFile } from './build-nav';

const docsProcessor = remark()
.use(remarkMDX)
.use(() => (node) => ({
.use(() => (node: { children: { type: string }[] }) => ({
...node,
children: node.children.filter((child) => !child.type.startsWith('mdxjs')),
}));
Expand Down

0 comments on commit af49ae2

Please sign in to comment.