# EditUndoCommand (@salmonui/data-grid/engine)

> The EditUndoCommand type of @salmonui/data-grid/engine: Reverts the last history entry (needs undo: true).

Canonical: https://salmonui.dev/docs/reference/data-grid/engine/EditUndoCommand

```ts
import type { EditUndoCommand } from '@salmonui/data-grid/engine';
```

Also exported from `@salmonui/data-grid/engine/edit`.

Entry index: https://salmonui.dev/docs/reference/data-grid/engine (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid/engine.md).

## Reference

Kind: type

```ts
type EditUndoCommand = {
    type: 'edit.undo';
};
```

Reverts the last history entry (needs `undo: true`).

Members (1):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `type` | `type: 'edit.undo';` |  |  |
