UNPKG

@benev/slate

Version:
10 lines (9 loc) 421 B
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>;