RecursiveArray

type RecursiveArray<ItemType> = readonly (ItemType | RecursiveArray<ItemType>)[];
type RecursiveArray<ItemType> = readonly (ItemType | RecursiveArray<ItemType>)[];
A type that recursively traverses into arrays.
readonly (ItemType
RecursiveArray<ItemType>)[]