Creates a type where the properties of an object are made optional,
but only for those properties that can accept undefined as a valid value.
This is useful for scenarios where a partial version of an object is allowed,
but only for properties that are explicitly nullable.
Type Parameters
T
The object type to apply the smart partial transformation to.
Creates a type where the properties of an object are made optional, but only for those properties that can accept
undefinedas a valid value. This is useful for scenarios where a partial version of an object is allowed, but only for properties that are explicitly nullable.