Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>T.ObjectOf

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

Transform a [[List]] into an [[Object]] equivalent

Examples

Example 1

definition: O extends unknown ? number extends Length<O> ? _Pick<O, number> : _Omit<O, keyof any[]> : never