UNPKG

@typescript-package/history

Version:

A TypeScript package for tracking the history of values.

12 lines (11 loc) 453 B
import { HistoryAppend } from "./history-append.abstract"; /** * @description Manages the undo history with append mechanism. * @export * @class UndoHistory * @template [Type=any] The type of elements stored in the history * @template {number} [Size=number] The maximum size of the history. * @extends {HistoryAppend<Type, Size>} */ export declare class UndoHistory<Type = any, Size extends number = number> extends HistoryAppend<Type, Size> { }