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: (
value: Content,
options?: {
parseOptions: ParseOptions,
updateSelection: boolean,
parseOptions?: ParseOptions,
updateSelection?: boolean,
},
) => ReturnType,
}

View File

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