Hex Core JS
    Preparing search index...

    Type Alias NonNullableKeys<T, K>

    NonNullableKeys: { [Key in K]: NonNullable<T[Key]> } & Omit<T, K>

    Creates a new type using the same keys as the given, but makes the specified keys (type param K) non-nullable and leaves the other keys unchanged.

    Type Parameters

    • T extends Record<any, any>
    • K extends keyof T