Skip to content

OptionalKeys<T>

The keys of an object type that are optional.

Import:

import type { OptionalKeys } from '@mnaoumov/typescript-lib/type-guards';

Signature:

export type OptionalKeys<T extends object>

Signature:

type OptionalKeys<T> = OptionalKeyMap<T>[keyof T]

Type: OptionalKeyMap<T>[keyof T]


Links to this page: