Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>Tuple.ZipObj

👷 TypeScript's largest type utility library, now on Deno
Latest
type alias Tuple.ZipObj
import { type Tuple } from "https://deno.land/x/ts_toolbelt_unofficial@1.1.0/mod.ts";
const { ZipObj } = Tuple;

Create an [[Object]] from [[List]]s of keys & fields

Examples

Example 1

Type Parameters

LKeys extends List<Key>
LFields extends List
definition: LKeys extends unknown ? LFields extends unknown ? _ZipObj<LKeys, LFields> : never : never