/** * @public */ export type TUnionToIntersection = ((T extends unknown ? (k: T) => void : never) extends ((k: infer U) => void) ? U : never);