/* ============================================================================= * spreadsheet_history.ts (주인 A) * 되돌리기 · 다시 — 명령과 되돌림 짝을 쌓음(메모리만 · 캐시에 안 넣음). * 0 계약 머리 — 몸은 A 가 채움. * ========================================================================== */ import type { History } from "./spreadsheet_types"; const todo = (): never => { throw new Error("spreadsheet_history: 아직 없음(A)"); }; /** `limit` = 쌓을 수(넘으면 오래된 것부터 버림) */ export function createHistory(_limit?: number): History { return todo(); }