Perform mutations on a Type.Type within a change context.
The callback receives a Mutable view of the type — direct mutation of
a Type.Type outside Type.update throws at runtime, mirroring Obj.update.
Delegates to the same automerge-transaction primitive Obj.update(obj, cb) uses.
Perform mutations on a
Type.Typewithin a change context.The callback receives a Mutable view of the type — direct mutation of a
Type.TypeoutsideType.updatethrows at runtime, mirroringObj.update. Delegates to the same automerge-transaction primitiveObj.update(obj, cb)uses.