import { HashMapInternal, realHashMap } from "@tsplus/stdlib/collections/HashMap/_internal/hashMap" /** * Marks the `HashMap` as mutable. * * @tsplus getter HashMap beginMutation */ export function beginMutation(self: HashMap): HashMap { realHashMap(self) return new HashMapInternal(true, self._edit + 1, self._root, self._size) }