var updateSingleAncestors = function updateSingleAncestors(node, checkedMap, type) {
  if (!node.parent) {
    return;
  }
  var parent = node.parent;
  checkedMap.set(parent.value, type);
  updateSingleAncestors(parent, checkedMap, type);
};

export { updateSingleAncestors };
