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

x/tsafe/mod.ts>objectKeys

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

Type Parameters

T extends Record<string, unknown>

Returns

(keyof T)[]