We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad039ed commit 9291122Copy full SHA for 9291122
src/blocknote/index.ts
@@ -13,8 +13,10 @@ export type BlockNoteSyncOptions = UseSyncOptions & {
13
* If you pass options into the editor, you should pass them here, to ensure
14
* the initialContent is parsed with the correct schema.
15
*/
16
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
17
- editorOptions?: Partial<BlockNoteEditorOptions<any, any, any>>;
+ editorOptions?: Partial<
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
18
+ Omit<BlockNoteEditorOptions<any, any, any>, "initialContent">
19
+ >;
20
};
21
22
export function useBlockNoteSync(
0 commit comments