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

x/tsafe/mod.ts>ObjectEntries

🔩 The missing TypeScript utils
Go to Latest
type alias ObjectEntries
import { type ObjectEntries } from "https://deno.land/x/tsafe@v1.6.1/mod.ts";

Return type of objectEntries https://docs.tsafe.dev/objectentries

Type Parameters

O extends Record<string, any>
definition: Exclude<[Key in keyof O]: [Key, O[Key]][keyof O], undefined>[]