"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.clearUndoStack = clearUndoStack;
const UndoRedoEntity_1 = require("../Entities/UndoRedoEntity");
function clearUndoStack(appObjects) {
    const undoRedoEntity = UndoRedoEntity_1.UndoRedoEntity.get(appObjects);
    if (!undoRedoEntity) {
        appObjects.submitWarning("clearUndoStack", "Unable to find UndoRedoEntity");
        return;
    }
    undoRedoEntity.clearStack();
}
//# sourceMappingURL=clearUndoStack.js.map