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

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

Deeply merge 2 or more objects respecting type information.
Go to Latest
type alias FlatternAlias
import { type FlatternAlias } from "https://deno.land/x/deepmergets@v3.0.0-beta.6/src/types/utils.ts";

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

definition: [P in keyof T]: T[P] & { }