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