rename Commands to RawCommands

This commit is contained in:
Philipp Kühn
2021-02-16 18:36:37 +01:00
parent 381bc0ce49
commit a705134998
51 changed files with 108 additions and 110 deletions

View File

@@ -4,9 +4,7 @@ import {
SingleCommands,
ChainedCommands,
CanCommands,
Commands,
Command,
CommandSpec,
RawCommands,
CommandProps,
} from './types'
import getAllMethodNames from './utilities/getAllMethodNames'
@@ -15,11 +13,11 @@ export default class CommandManager {
editor: Editor
commands: Commands
commands: RawCommands
methodNames: string[] = []
constructor(editor: Editor, commands: Commands) {
constructor(editor: Editor, commands: RawCommands) {
this.editor = editor
this.commands = commands
this.methodNames = getAllMethodNames(this.editor)