Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/jira/src/utilityTypes.ts>UtilityTypes.XOR

A JavaScript/TypeScript wrapper for the JIRA Cloud, Service Desk and Agile REST API
Latest
type alias UtilityTypes.XOR
import { type UtilityTypes } from "https://deno.land/x/jira@v3.0.2/src/utilityTypes.ts";
const { XOR } = UtilityTypes;

Get the XOR type which could make 2 types exclude each other

definition: T | U extends object ? (Without<T, U> & U) | (Without<U, T> & T) : T | U