Casts a readonly type T to its Mutable<T> equivalent.
⚠️ Safety Warning: This is a type assertion that bypasses TypeScript's
immutability guarantees. The runtime value remains unchanged - only the type
system's view of it changes. Use with caution as it can lead to unexpected
mutations of data that was intended to be immutable.
Casts a readonly type
T
to itsMutable<T>
equivalent.⚠️ Safety Warning: This is a type assertion that bypasses TypeScript's immutability guarantees. The runtime value remains unchanged - only the type system's view of it changes. Use with caution as it can lead to unexpected mutations of data that was intended to be immutable.