|
|
|
@ -43,7 +43,6 @@ import Component, { eventDrag } from '../dom_components/model/Component'; |
|
|
|
import type Editor from '../editor/model/Editor'; |
|
|
|
import type { ObjectAny } from '../common'; |
|
|
|
import CommandsEvents from './types'; |
|
|
|
import type { ComponentDragEventProps } from './view/ComponentDrag'; |
|
|
|
|
|
|
|
export type CommandEvent = 'run' | 'stop' | `run:${string}` | `stop:${string}` | `abort:${string}`; |
|
|
|
|
|
|
|
@ -451,9 +450,4 @@ export default class CommandsModule extends Module<CommandsConfig & { pStylePref |
|
|
|
this.commands = {}; |
|
|
|
this.active = {}; |
|
|
|
} |
|
|
|
|
|
|
|
// Dummy property to ensure ComponentDragEventProps type is included in the build
|
|
|
|
dummyComponentDragEventProps() { |
|
|
|
return undefined as ComponentDragEventProps | undefined; |
|
|
|
} |
|
|
|
} |
|
|
|
|