UNPKG

@player-ui/player

Version:

10 lines 529 B
import type { BindingInstance } from "../binding"; /** * Remove a binding, and any children from from the map * If the binding is an array-item, then it will be spliced from the array and the others will be shifted down * * @param sourceMap - A map of bindings to values * @param binding - The binding to remove from the map */ export declare function removeBindingAndChildrenFromMap<T>(sourceMap: Map<BindingInstance, T>, binding: BindingInstance): Map<BindingInstance, T>; //# sourceMappingURL=binding-map-splice.d.ts.map