Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>Any.Keys

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

Get the keys of A

Examples

Example 1

Type Parameters

A extends any
definition: A extends List ? Exclude<keyof A, keyof any[]> | number : keyof A