import { Item } from '../../types/Item' import Collection from '../collection' import { ValueType } from 'b-pl-tree' export function update_index( collection: Collection, ov: T | Partial, nv: T | Partial, i: ValueType, ) { collection.updates.forEach((item) => item(ov, nv, i)) }