function root(state, node) {
  const result = { type: "root", children: state.wrap(state.all(node)) };
  state.patch(node, result);
  return state.applyData(node, result);
}
export {
  root
};
//# sourceMappingURL=root.js.map
