Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>O.NullableKeys

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

Get the keys of O that are nullable

(⚠️ needs --strictNullChecks enabled)

Examples

Example 1

Type Parameters

O extends object
definition: O extends unknown ? _NullableKeys<O> : never