Element type of an array or tuple.
Array or tuple whose element type is extracted.
type Status = ElementOf<readonly ['idle', 'ready']>;const status: Status = 'ready'; Copy
type Status = ElementOf<readonly ['idle', 'ready']>;const status: Status = 'ready';
Element type of an array or tuple.