Skip to main content
Go to Latest
type alias ObjectXorKeys
import { type ObjectXorKeys } from "https://deno.land/std@0.223.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