// Adjusted from Terry: https://stackoverflow.com/questions/61132262/typescript-deep-partial export type DeepPartial = T extends any[] ? T : T extends Set ? T : T extends object ? { [P in keyof T]?: DeepPartial } : T