@benev/slate
Version:
frontend web stuff
11 lines (10 loc) • 324 B
TypeScript
import { Annals } from "./annals.js";
import { Historian } from "../historian.js";
import { StateTree } from "../../state_tree.js";
export declare class History<S> {
#private;
constructor(annals: StateTree<Annals<S>>, historian: Historian<S, any>);
get annals(): Annals<S>;
undo(): void;
redo(): void;
}