export type RecursivePartial = { [P in keyof T]?: T[P] extends (infer U)[] ? RecursivePartial[any] : RecursivePartial; }; export type PartialExcept = RecursivePartial &Pick;