fix: fix type for insertContent command

This commit is contained in:
Philipp Kühn 2021-10-14 12:30:16 +02:00
parent 8a14131d7a
commit 4295c6bd21
2 changed files with 4 additions and 4 deletions

View File

@ -10,8 +10,8 @@ declare module '@tiptap/core' {
insertContent: ( insertContent: (
value: Content, value: Content,
options?: { options?: {
parseOptions: ParseOptions, parseOptions?: ParseOptions,
updateSelection: boolean, updateSelection?: boolean,
}, },
) => ReturnType, ) => ReturnType,
} }

View File

@ -17,8 +17,8 @@ declare module '@tiptap/core' {
position: number | Range, position: number | Range,
value: Content, value: Content,
options?: { options?: {
parseOptions: ParseOptions, parseOptions?: ParseOptions,
updateSelection: boolean, updateSelection?: boolean,
}, },
) => ReturnType, ) => ReturnType,
} }