mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-08-06 13:38:49 +08:00
fix: fix type for emitUpdate, fix #276
This commit is contained in:
parent
75c8e4d05f
commit
4137e00d98
@ -6,7 +6,7 @@ declare module '@tiptap/core' {
|
||||
/**
|
||||
* Clear the whole document.
|
||||
*/
|
||||
clearContent: (emitUpdate: Boolean) => Command,
|
||||
clearContent: (emitUpdate?: Boolean) => Command,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user