/** * creates a type which requires specifying at least one, or more, key of an object * * ref: * - https://stackoverflow.com/a/49725198/3068233 */ export type PickAny = Pick> & { [K in TKeys]-?: Required> & Partial>>; }[TKeys];