Recursively makes all properties of a type readonly.
Applies to nested objects, arrays, and tuples. Function types are preserved without modification.
This is a compile-time constraint and does not prevent runtime mutations.
The type to make deeply readonly.
Recursively makes all properties of a type readonly.
Applies to nested objects, arrays, and tuples. Function types are preserved without modification.
This is a compile-time constraint and does not prevent runtime mutations.