Skip to main content
Module

x/fathym_common/deps.ts>ObjectXorKeys

The Fathym Reference Architecture provides the common foundation for applications built in Typescript.
Go to Latest
type alias ObjectXorKeys
import { type ObjectXorKeys } from "https://deno.land/x/fathym_common@v0.0.179/deps.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