Generates a union type of natural numbers from 0 to TLength - 1.
The length of the natural numbers to generate.
Accumulator type used to build the union type recursively.
Generates a union type of natural numbers from 0 to TLength - 1.