HumanBreak/src/core/interface.ts

15 lines
185 B
TypeScript
Raw Normal View History

2024-02-04 15:19:48 +08:00
export interface Undoable<T> {
stack: T[];
redoStack: T[];
/**
*
*/
undo(): T | undefined;
/**
*
*/
redo(): T | undefined;
}