fix: fix type for emitUpdate, fix #276
This commit is contained in:
@@ -6,7 +6,7 @@ declare module '@tiptap/core' {
|
|||||||
/**
|
/**
|
||||||
* Clear the whole document.
|
* Clear the whole document.
|
||||||
*/
|
*/
|
||||||
clearContent: (emitUpdate: Boolean) => Command,
|
clearContent: (emitUpdate?: Boolean) => Command,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user