Constructs a new array type from T by picking K from the element type of T.
T
K
type User = { id: string; name: string;}type Users = User[];ArrayPick<Users, "id">; // Pick<User, "id">[] Copy
type User = { id: string; name: string;}type Users = User[];ArrayPick<Users, "id">; // Pick<User, "id">[]
Constructs a new array type from
Tby pickingKfrom the element type ofT.