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

x/deepmergets/src/types/utils.ts>SimplifyObject

Deeply merge 2 or more objects respecting type information.
Go to Latest
type alias SimplifyObject
import { type SimplifyObject } from "https://deno.land/x/deepmergets@v7.0.1/src/types/utils.ts";

Simplify a complex type such as a union or intersection of objects into a single object.

Type Parameters

T extends { }
definition: [K in keyof T]: T[K] & { }