Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
type alias ObjectXorKeys
import { type ObjectXorKeys } from "https://deno.land/std@0.224.0/collections/deep_merge.ts";

Object with keys in either T or U but not in both

Type Parameters

T
U
optional
X = Omit<T, keyof U> & Omit<U, keyof T>
optional
Y = [K in keyof X]: X[K]
definition: Y