internal type
type IntegerRange<N, A> = A["length"] extends N ? A[number] : IntegerRange<N, [...A, A["length"]]>