Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
type alias MergeRightOmitComplexes
import { type MergeRightOmitComplexes } from "https://deno.land/std@0.217.0/collections/mod.ts";

Merge two objects, with left precedence

Type Parameters

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