Transforms a type T by allowing null as an additional type for its nullable properties.
Recurses into plain object values (e.g. object schema attributes) so that
nullable fields at any depth receive | null, matching root-level nullable
attribute behavior during updates.
Type Parameters
T
The type whose properties are to be transformed.
Returns
A new type with properties of T where each nullable property is also allowed to be null.
Transforms a type
Tby allowingnullas an additional type for its nullable properties.Recurses into plain object values (e.g. object schema attributes) so that nullable fields at any depth receive
| null, matching root-level nullable attribute behavior during updates.