add type to onTransaction

This commit is contained in:
Hans Pagel
2020-11-17 16:24:25 +01:00
parent aa17a4313c
commit 3d3dcdaf42

View File

@@ -18,7 +18,7 @@ export interface EditorOptions {
editable: boolean, editable: boolean,
onInit: () => void, onInit: () => void,
onUpdate: () => void, onUpdate: () => void,
onTransaction: () => void, onTransaction: (props: { transaction: Transaction }) => void,
onFocus: (props: { event: FocusEvent }) => void, onFocus: (props: { event: FocusEvent }) => void,
onBlur: (props: { event: FocusEvent }) => void, onBlur: (props: { event: FocusEvent }) => void,
} }