Type alias ExcludeNullable<T>

ExcludeNullable<T>: {
    [K in keyof T]: NonNullable<T[K]>
}

ExcludeNullable Creates a type by excluding null and undefined from the property types of T.

Type Parameters

  • T extends Record<string, any>

    An object type.

Returns

An object type where each property of T is non-nullable.

Generated using TypeDoc