| 5 | * directly (no re-cloning) since they are already detached. |
| 6 | */ |
| 7 | export class UndoStack<S> { |
| 8 | private stack: S[] = []; |
| 9 | |
| 10 | /** Push a deep clone of the given state onto the stack. */ |
nothing calls this directly
no outgoing calls
no test coverage detected