Type alias FlattenIfArray<T>

FlattenIfArray<T>: T extends any[] ? T[0] : T

Type Parameters

  • T

Generated using TypeDoc