Type Editor / @type-editor/state / types/Command / Command
Type Alias: Command()
ts
type Command = (state, dispatch?, view?) => boolean;Defined in: state/src/types/Command.ts:17
Parameters
| Parameter | Type |
|---|---|
state | PmEditorState |
dispatch? | DispatchFunction |
view? | PmEditorView |
Returns
boolean