A utility type that makes all properties of T optional recursively
The type to make partially optional
Maximum recursion depth (default: 5)
A new type where all properties of T are optional, recursively down to the specified depth for nested objects
A utility type that makes all properties of T optional recursively