XOR<T, U>: T extends object
    ? U extends object
        ? Without<T, U> & U | Without<U, T> & T
        : U
    : T

Type Parameters

  • T
  • U