This Typescript module provides an undo class that can be used to implement a simple undo/redo mechanism.