Interface ActionUndoCommand<TS, TD, TA>

Interface for a command that performs an action(function).

interface ActionUndoCommand<TS extends string = string, TD = any, TA = any[]> {
    args: TA;
    onUndoRedo?: (c: ActionUndoCommand<string, any, any[]>) => void;
    redo: () => any;
    target: object;
    type: TS;
    uid: TD;
    undo: () => any;
}

Type Parameters

  • TS extends string = string
  • TD = any
  • TA = any[]

Hierarchy (View Summary, Expand)

Properties

args: TA
onUndoRedo?: (c: ActionUndoCommand<string, any, any[]>) => void
redo: () => any
target: object
type: TS
uid: TD
undo: () => any
MMNEPVFCICPMFPCPTTAAATR