fix: set correct type for emitUpdate
This commit is contained in:
@@ -6,7 +6,7 @@ declare module '@tiptap/core' {
|
||||
/**
|
||||
* Clear the whole document.
|
||||
*/
|
||||
clearContent: (emitUpdate?: Boolean) => Command,
|
||||
clearContent: (emitUpdate?: boolean) => Command,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ declare module '@tiptap/core' {
|
||||
*/
|
||||
setContent: (
|
||||
content: Content,
|
||||
emitUpdate?: Boolean,
|
||||
emitUpdate?: boolean,
|
||||
parseOptions?: Record<string, any>,
|
||||
) => Command,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user