Interface UndoState

Represents an undo state that contains an array of past states and an array of future states.

Name

UndoState

Example

const state: UndoState = {
past: [previousState],
future: []
};

Hierarchy

  • UndoState

Properties

Properties

future: any[]

An array of future states.

past: any[]

An array of past states.

Generated using TypeDoc