export type PartialBy = Omit & Partial>; export type RequiredBy = T & { [P in K]-?: T[P] };