@benev/slate
Version:
frontend web stuff
10 lines (9 loc) • 421 B
TypeScript
import { StateTree } from "../../state_tree.js";
import { ZipAction } from "../../zip/action.js";
import { ActionRecord } from "./action_record.js";
export declare function history_actualize<S, B extends ZipAction.Blueprint<S>>({ tree, blueprint, save_snapshot, proceed, }: {
tree: StateTree<S>;
blueprint: B;
save_snapshot: () => void;
proceed: (action: ActionRecord) => void;
}): ZipAction.Callable<B>;