HumanBreak/src/core/interface.ts

20 lines
259 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;
}
2024-04-22 23:08:46 +08:00
export interface ResponseBase {
code: number;
message: string;
}