Skip to content

Commit

Permalink
fix: fix CodeBlockItem type error.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Oct 3, 2023
1 parent 7423076 commit 5977537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export type CodeBlockData = {
components: Record<CodeBlockItem['name'], React.FC>;
data: Record<CodeBlockItem['name'], CodeBlockItem>;
headings?: HeadingItem[];
headingsList: HeadingListType[];
headingsList?: HeadingListType[];
};

export const FUNNAME_PREFIX = '__BaseCode__';
Expand Down

0 comments on commit 5977537

Please sign in to comment.