"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.withLogAction = withLogAction;
const logger_1 = require("../logger.js");
function withLogAction(action, command) {
    return (...args) => {
        const res = command(...args);
        if (res)
            logger_1.logger.action({ action, source: 'keymap' });
        return res;
    };
}
//# sourceMappingURL=keymap.js.map
