Modify a given type T such that all its entries / properties are readonly, diving arbitrarily deeply (in contrast to the built-in Readonly<T>).
T
Readonly<T>
the type to make readonly.
Modify a given type
T
such that all its entries / properties are readonly, diving arbitrarily deeply (in contrast to the built-inReadonly<T>
).