From 410a24f7db758cad438c2261484c3f64fb3cb7bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Fri, 27 Nov 2020 16:45:39 +0100 Subject: [PATCH] refactoring --- packages/core/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/types.ts b/packages/core/src/types.ts index cb400f617..c6db1b24d 100644 --- a/packages/core/src/types.ts +++ b/packages/core/src/types.ts @@ -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,