UNPKG

type-tls

Version:

type-tls 封装了与类型相关的工具,比如:获取数据的类型 或 类型名字、判断数据的类型 等

14 lines (8 loc) 358 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [type-tls](./type-tls.md) &gt; [ArrayItemType](./type-tls.arrayitemtype.md) ## ArrayItemType type 获取数组元素的类型 **Signature:** ```typescript export type ArrayItemType<Arr> = Arr extends (infer Item)[] ? Item : never; ```