@pengzhanbo/utils - v3.4.1
    Preparing search index...

    Type Alias ElementOf<T>

    ElementOf: T extends (infer E)[] ? E : never

    Infers the element type of an array

    推断数组元素的类型

    Type Parameters

    • T

      要推断的数组类型