DeepPartial
DeepPartial<
T> =Textendsobject?{ [P in keyof T]?: DeepPartial<T[P]> }:T
Recursive Partial<T>: every nested object property becomes optional
all the way down. Use it when a value is built up incrementally and
intermediate states are never fully populated.
Type Parameters
Section titled “Type Parameters”T