# UndoEntry

## Methods

### doRedo 

▸ **doRedo**(`undoRedo`: [UndoRedo](../classes/undoredo.md)): *void*

*Defined in [src/UndoRedo.ts:25](https://github.com/handsontable/hyperformula/blob/5aaeae0/src/UndoRedo.ts#L25)*

**Parameters:**

Name | Type |
------ | ------ |
`undoRedo` | [UndoRedo](../classes/undoredo.md) |

**Returns:** *void*

___

### doUndo 

▸ **doUndo**(`undoRedo`: [UndoRedo](../classes/undoredo.md)): *void*

*Defined in [src/UndoRedo.ts:23](https://github.com/handsontable/hyperformula/blob/5aaeae0/src/UndoRedo.ts#L23)*

**Parameters:**

Name | Type |
------ | ------ |
`undoRedo` | [UndoRedo](../classes/undoredo.md) |

**Returns:** *void*

___

### getReferencedOldDataVersions 

▸ **getReferencedOldDataVersions**(): *number[]*

*Defined in [src/UndoRedo.ts:31](https://github.com/handsontable/hyperformula/blob/5aaeae0/src/UndoRedo.ts#L31)*

Returns the LazilyTransformingAstService version keys referenced by this entry's oldData storage.
Used to clean up oldData when the entry is permanently evicted from the undo/redo stack.

**Returns:** *number[]*