Skip to content

Commit 5977537

Browse files
committed
fix: fix CodeBlockItem type error.
7423076
1 parent 7423076 commit 5977537

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export type CodeBlockData = {
2323
components: Record<CodeBlockItem['name'], React.FC>;
2424
data: Record<CodeBlockItem['name'], CodeBlockItem>;
2525
headings?: HeadingItem[];
26-
headingsList: HeadingListType[];
26+
headingsList?: HeadingListType[];
2727
};
2828

2929
export const FUNNAME_PREFIX = '__BaseCode__';

0 commit comments

Comments
 (0)