diff --git a/modules/toolbar.ts b/modules/toolbar.ts index 013aa86d46..263eb9170e 100644 --- a/modules/toolbar.ts +++ b/modules/toolbar.ts @@ -6,7 +6,7 @@ import Module from '../core/module'; const debug = logger('quill:toolbar'); -type Handler = () => void; +type Handler = (value: any) => void; interface ToolbarProps { container: HTMLElement;