Type alias NestedArray<T>

NestedArray<T>: T | NestedArray<T>[]

The type of an arbitrarily nested array or a non-array element.

Type Parameters

  • T