Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/slack_bolt/src/types/helpers.ts>XOR

TypeScript framework to build Slack apps in a flash with the latest platform features. Deno port of @slack/bolt
Latest
type alias XOR
import { type XOR } from "https://deno.land/x/slack_bolt@1.0.0/src/types/helpers.ts";

Type function which allows either types T or U, but not both.

definition: T | U extends Record<string, unknown> ? (Without<T, U> & U) | (Without<U, T> & T) : T | U