API reference › @evolu/common › Types › Mutable
type Mutable<T> = { -readonly [P in keyof T]: T[P] };
Defined in: packages/common/src/Types.ts:181
Removes readonly modifier from all properties of a type.
Useful for constructing immutable objects step-by-step (e.g. builder pattern) before casting them back to the readonly type.