mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-07 17:43:49 +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: (
|
insertContent: (
|
||||||
value: Content,
|
value: Content,
|
||||||
options?: {
|
options?: {
|
||||||
parseOptions: ParseOptions,
|
parseOptions?: ParseOptions,
|
||||||
updateSelection: boolean,
|
updateSelection?: boolean,
|
||||||
},
|
},
|
||||||
) => ReturnType,
|
) => ReturnType,
|
||||||
}
|
}
|
||||||
|
@ -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,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user