Removes the readonly modifier from the properties of an object type.
readonly
Preserves property types and optional modifiers. Nested properties retain their original readonly modifiers.
The object type to make writable.
Removes the
readonlymodifier from the properties of an object type.Preserves property types and optional modifiers. Nested properties retain their original readonly modifiers.