Vertex Viewer SDK
    Preparing search index...

    Type Alias RequiredAndNonNullable<T>

    RequiredAndNonNullable: Required<{ [P in keyof T]: NonNullable<T[P]> }>

    A type that extends Required that in addition to making fields not undefined, also makes them not nullable.

    Type Parameters

    • T
    type Foo = { a?: number | null };
    type Bar = RequiredAndNonNullable<Bar>; // { a: number }