fix: fix type for emitUpdate, fix #276

This commit is contained in:
Philipp Kühn 2021-04-16 00:17:09 +02:00
parent 75c8e4d05f
commit 4137e00d98

View File

@ -6,7 +6,7 @@ declare module '@tiptap/core' {
/**
* Clear the whole document.
*/
clearContent: (emitUpdate: Boolean) => Command,
clearContent: (emitUpdate?: Boolean) => Command,
}
}
}