/** * @module History * @author Pablo E. --Fidel-- Martínez López */ /** * A {@link Changeable} is a data structure used to register changes over a certain value * of a given type. * * The initial value is supposed to be given on creation, and then subsequent changes * can be registered using {@link addChange}. * At any moment the current value (that corresponding to the last active change) can be * accessed using {@link currentValue}. * @group History */ export interface Changeable { /** * Add a change to the history in the current transaction, as the last version * of the value. * @group API */ addChange(e: A): void; /** * Describes the current value in the history. * @group API */ currentValue(): A; } //# sourceMappingURL=Changeable.d.ts.map