Type Alias IntRange<StartInclusive, EndExclusive>

IntRange<StartInclusive, EndExclusive>: Exclude<Enumerate<EndExclusive>, Enumerate<StartInclusive>>

Creates a union of all integers between StartInclusive and EndExclusive.

Type Parameters

  • StartInclusive extends number
  • EndExclusive extends number