Utility TypeScript @ 2.0.0-beta
    Preparing search index...

    Type Alias ArrayItem<T_Array>

    ArrayItem: T_Array extends readonly (infer I)[] ? I : never

    Infers the item types of a known array type.

    Type Parameters

    • T_Array extends readonly unknown[]

      Array with the items to type.

    0.1.0

    2.0.0-alpha — Is now global rather than being the only member of the Arrays namespace.