Misleading annotations for Array.range
Opened this issue · 0 comments
JoelLefkowitz commented
In version 3.13.1 the annotations for Array.range say:
/** Returns a new array of numbers from `start` (inclusive) to `finish` (exclusive). */
On https://mobily.github.io/ts-belt/api/array/ the docs say:
Returns a new inclusive array of numbers from start to finish (it returns an empty array when start > finish).
This is confusing since you get an extra element in the array. Can we release a patch with the correct annotations?