Skip to content

Commit

Permalink
fix: update type
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyjosephprice committed Feb 14, 2025
1 parent 96fc71c commit 2e045f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ interface TocEntry extends Element {
type IndexableElements = HastHeading | MdxJsxFlowElementHast;

interface RMDXModule extends MDXModule {
Toc: MDXContent | (() => null);
Toc: React.FC<Record<string, unknown>> | null;
stylesheet?: string;
toc: IndexableElements[];
}
Expand Down

0 comments on commit 2e045f3

Please sign in to comment.