Creates a union of non-negative integer literals starting from MinValue (inclusive) up to MaxValue (inclusive).
Both bounds are limited to the unsigned 11-bit range (Uint11, 0 to
2047); an inclusive upper bound never needs the extra 2048 that
UintRange's exclusive End accepts. Ranges where
MinValue > MaxValue resolve to never.
For a 0-based range beyond that cap — such as the 0 | ... | 2048 union
behind SupportedLength, whose inclusive 2048 is one past Uint11 — use
IndexInclusive directly: UintRangeInclusive<0, N> and
IndexInclusive<N> are the same type.
Type Parameters
MinValueextendsUint11
The starting integer literal (inclusive).
MaxValueextendsUint11
The ending integer literal (inclusive).
Returns
A union type MinValue | MinValue + 1 | ... | MaxValue.
Creates a union of non-negative integer literals starting from
MinValue(inclusive) up toMaxValue(inclusive).Both bounds are limited to the unsigned 11-bit range (
Uint11,0to2047); an inclusive upper bound never needs the extra2048that UintRange's exclusiveEndaccepts. Ranges whereMinValue > MaxValueresolve tonever.For a
0-based range beyond that cap — such as the0 | ... | 2048union behindSupportedLength, whose inclusive2048is one pastUint11— use IndexInclusive directly:UintRangeInclusive<0, N>andIndexInclusive<N>are the same type.