export type DeepPartial = { [Prop in keyof GenericPattern]?: GenericPattern[Prop] extends object ? DeepPartial : GenericPattern[Prop]; };