augment-vir - v31.13.0
    Preparing search index...

    Type Alias SetRequiredAndNotNull<T, K>

    SetRequiredAndNotNull: Omit<T, K> & CompleteRequire<
        { [PropertyName in K]: NonNullable<T[PropertyName]> },
    >

    Require only a subset of object properties and require that they be not null. This is particularly useful in conjunction with the "exactOptionalPropertyTypes" tsconfig flag.

    Type Parameters

    • T
    • K extends keyof T