named-collection-element-types
Define and reference a descriptive named element type when typing collections and their working elements or batches, rather than extracting the element type from a collection variable with indexed access such as (typeof batches)[number]. Introduce a named type when none exists instead of using that variable-based extraction.