Skip to content

Commit

Permalink
fix: fix type for emitUpdate, fix #276
Browse files Browse the repository at this point in the history
  • Loading branch information
philippkuehn committed Apr 15, 2021
1 parent 75c8e4d commit 4137e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/commands/clearContent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ declare module '@tiptap/core' {
/**
* Clear the whole document.
*/
clearContent: (emitUpdate: Boolean) => Command,
clearContent: (emitUpdate?: Boolean) => Command,
}
}
}
Expand Down

0 comments on commit 4137e00

Please sign in to comment.