/** * Extract the element type from an array. */ export type ArrayElement = T[number];