@cto.af/utils - v1.3.6
    Preparing search index...

    Type Alias Selected<T, U>

    Selected: U extends Partial<T>
        ? U
        : U extends (keyof T)[] ? Pretty<Partial<Pick<T, U[number]>>> : Partial<T>

    A defaults object extracts a required subset of T. A list of keys extracts a partial subset of T with those possible keys. A Set extracts a full partial of T.

    Type Parameters

    • T extends object

      Options object, where most properties are optional.

    • U extends Selector<T>

      Selector.