A recursive readonly type for objects, ensuring that all properties in an object and its nested structures are read-only. This helps in cases where you want to deeply enforce immutability in an object.
readonly
The object type to make deeply readonly.
A recursive
readonlytype for objects, ensuring that all properties in an object and its nested structures are read-only. This helps in cases where you want to deeply enforce immutability in an object.