export type Unpacked = T extends (infer U)[] ? U : T; export type PartialBy = Omit & Partial>;