diff --git a/packages/core/src/commands/insertContent.ts b/packages/core/src/commands/insertContent.ts index adebb6990..7e145ad6d 100644 --- a/packages/core/src/commands/insertContent.ts +++ b/packages/core/src/commands/insertContent.ts @@ -10,8 +10,8 @@ declare module '@tiptap/core' { insertContent: ( value: Content, options?: { - parseOptions: ParseOptions, - updateSelection: boolean, + parseOptions?: ParseOptions, + updateSelection?: boolean, }, ) => ReturnType, } diff --git a/packages/core/src/commands/insertContentAt.ts b/packages/core/src/commands/insertContentAt.ts index b92811f4f..ea875a89c 100644 --- a/packages/core/src/commands/insertContentAt.ts +++ b/packages/core/src/commands/insertContentAt.ts @@ -17,8 +17,8 @@ declare module '@tiptap/core' { position: number | Range, value: Content, options?: { - parseOptions: ParseOptions, - updateSelection: boolean, + parseOptions?: ParseOptions, + updateSelection?: boolean, }, ) => ReturnType, }