mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-28 07:40:13 +08:00
fix: fix type for insertContent command
This commit is contained in:
parent
8a14131d7a
commit
4295c6bd21
@ -10,8 +10,8 @@ declare module '@tiptap/core' {
|
||||
insertContent: (
|
||||
value: Content,
|
||||
options?: {
|
||||
parseOptions: ParseOptions,
|
||||
updateSelection: boolean,
|
||||
parseOptions?: ParseOptions,
|
||||
updateSelection?: boolean,
|
||||
},
|
||||
) => ReturnType,
|
||||
}
|
||||
|
@ -17,8 +17,8 @@ declare module '@tiptap/core' {
|
||||
position: number | Range,
|
||||
value: Content,
|
||||
options?: {
|
||||
parseOptions: ParseOptions,
|
||||
updateSelection: boolean,
|
||||
parseOptions?: ParseOptions,
|
||||
updateSelection?: boolean,
|
||||
},
|
||||
) => ReturnType,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user