Make a specific property mutable (remove readonly).
The object type
The key of the property to make mutable
Removes the readonly modifier from a single property while leaving others unchanged. Useful for controlled mutability in type-level object transformations.
type Obj = { readonly a: string; readonly b: number };type Result = MutableProperty< Obj, 'a' >;// { a: string; readonly b: number } Copy
type Obj = { readonly a: string; readonly b: number };type Result = MutableProperty< Obj, 'a' >;// { a: string; readonly b: number }
Make a specific property mutable (remove readonly).