Type Alias AllowNullForNullable<T>

AllowNullForNullable: {
    [K in keyof T]: K extends NullableProperties<T> ? T[K] | null : T[K]
}

Transforms a type T by allowing null as an additional type for its nullable properties.

Type Parameters

  • T

    The type whose properties are to be transformed.

A new type with properties of T where each nullable property is also allowed to be null.