Utility TypeScript @ 2.0.0-beta
    Preparing search index...

    Type Alias RequiredPartially<T_Object, T_RequiredKeys>

    RequiredPartially: Required<Pick<T_Object, T_RequiredKeys>> & Omit<
        T_Object,
        T_RequiredKeys,
    >

    Requires the given required keys only and leaves the rest as-is.

    For the recursive version, see RecursiveRequiredPartially.

    Type Parameters

    • T_Object

      Type or interface to convert to a class.

    • T_RequiredKeys extends keyof T_Object = never

      Keys that cannot be undefined. Default never.