@tb-dev/utils - v6.0.3
    Preparing search index...

    Type Alias PickByValue<T, V>

    PickByValue: { [P in keyof T as T[P] extends V ? P : never]: T[P] }

    Like Pick, but constructs the type based on the values.

    Type Parameters

    • T
    • V