Constructs a new type using the same keys as the given typeparam T, but allows null in all fields. Works similar
to the built-in Partial type but with null instead of undefined. In other words, if a key of T has a value of
type V, then then the corresponding key in NullPartial<T> is V | null.
Constructs a new type using the same keys as the given typeparam
T, but allowsnullin all fields. Works similar to the built-inPartialtype but withnullinstead ofundefined. In other words, if a key ofThas a value of typeV, then then the corresponding key inNullPartial<T>isV | null.