Type Alias NullableProperties<T>

NullableProperties: { [K in keyof T]: undefined extends T[K] ? K : never }[keyof T]

Extracts the keys of properties in type T that are explicitly allowed to be undefined.

Type Parameters

  • T

    The type whose properties are to be examined.

A union type of the keys of T that can be undefined.