"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "updateSingleAncestors", {
    enumerable: true,
    get: function() {
        return updateSingleAncestors;
    }
});
const updateSingleAncestors = (node, checkedMap, type)=>{
    if (!node.parent) {
        return;
    }
    const { parent } = node;
    checkedMap.set(parent.value, type);
    updateSingleAncestors(parent, checkedMap, type);
};
