refactoring

This commit is contained in:
Philipp Kühn 2020-11-27 16:45:39 +01:00
parent bfc6a45292
commit 410a24f7db

View File

@ -39,7 +39,7 @@ export type Command = (props: {
editor: Editor,
tr: Transaction,
commands: SingleCommands,
can: () => SingleCommands & { chain: () => ChainedCommands },
can: () => CanCommands,
chain: () => ChainedCommands,
state: EditorState,
view: EditorView,