Loading...
Loading...
Implement DeepReadonly<T> which makes all properties (including nested) readonly. Use generics and conditional types.
Run your code to see results.
Click the Run button above
Implement DeepReadonly<T> which makes all properties (including nested) readonly. Use generics and conditional types.