Mutates the type by making all properties optional and allowing for deep partials.
The type to mutate.
type Original = { name: string; age: number }type Mutated = DeepPartial<Original>; // { name?: string; age?: number } Copy
type Original = { name: string; age: number }type Mutated = DeepPartial<Original>; // { name?: string; age?: number }
Mutates the type by making all properties optional and allowing for deep partials.