HumanBreak/src/core/interface.ts

22 lines
319 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;
}
2024-05-09 23:49:53 +08:00
export type CSSObj = Partial<Record<CanParseCss, string>>;