Type Alias PickFromArray<T, K>

PickFromArray<T, K>: {
    [key in K[number]]: T[key]
}

Type Parameters

  • T
  • K extends (keyof T)[]