StrictUnion<T>: StrictUnionHelper<T, T>

Makes a union 'strict', such that members are disallowed from including the keys of other members. E.g., {x: 1, y: 1} is a valid member of {x: number} | {y: number} but not of StrictUnion<{x: number} | {y: number}>.

Type Parameters

  • T