export type RecursivePartial = { [attr in keyof K]?: K[attr] extends object ? RecursivePartial : K[attr]; };