Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fathym_common/src/src.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.155/src/src.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