Skip to main content
Module

std/collections/mod.ts>MergeAllArrays

The Deno Standard Library
Go to Latest
type alias MergeAllArrays
import { type MergeAllArrays } from "https://deno.land/std@0.223.0/collections/mod.ts";

Merge all sets types definitions from keys present in both objects

Type Parameters

T
U
optional
X = PartialByType<T, Array<unknown>>
optional
Y = PartialByType<U, Array<unknown>>
optional
Z = [K in keyof X & keyof Y]: Array<ArrayValueType<X[K]> | ArrayValueType<Y[K]>>
definition: Z