Deep partial object type, making objects and their properties optional, but only until a property of a different type is encountered.
This means if an object holds a property with an array that holds objects, the array will be made optional, but the properties of the objects inside the array will not be changed.
Type Parameters
T
Generic
T - The object to make partial.
Returns
A type with all properties of objects made optional.
Deep partial object type, making objects and their properties optional, but only until a property of a different type is encountered. This means if an object holds a property with an array that holds objects, the array will be made optional, but the properties of the objects inside the array will not be changed.