/** * @internal */ export type Without = { [P in Exclude]?: never; }; /** * @internal */ export type XOR = T | U extends object ? (Without & U) | (Without & T) : T | U; /** * @internal */ export type PropType = TObj[TProp];