/** * DeepPartial Type * * @see https://github.com/piotrwitek/utility-types/blob/7f54af8dafd4780eb18315c693197e30773a4eab/src/mapped-types.ts#L523 */ export declare type DeepPartial = T extends Function ? T : T extends (infer U)[] ? DeepPartialArray : T extends object ? DeepPartialObject : T | undefined; interface DeepPartialArray extends Array> { } declare type DeepPartialObject = { [P in keyof T]?: DeepPartial; }; export {};