Hex Core JS
    Preparing search index...

    Type Alias RequiredKeys<T, K>

    RequiredKeys: Required<Pick<T, K>> & Omit<T, K>

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

    Type Parameters

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