You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow raw bigint values as input (new MultiRange([[555n, 999n]]))
Add an option to parse strings as bigint
newMultiRange('999999999999999999',{bigInt: true});// Should throw RangeError without bigInt option
Update type definitions after TypeScript officially supports BigInt
We will not do automatic type conversions to/from plain numbers. You should use use either number or bigint exclusively within a single instance of MultiRange.
Steps
new MultiRange([[555n, 999n]]))We will not do automatic type conversions to/from plain numbers. You should use use either
numberorbigintexclusively within a single instance of MultiRange.