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
The types for quantileSeq have an overly wide return type.
To Reproduce
// Type 'number | BigNumber | Unit | MathArray' is not assignable to type 'number'.// Type 'BigNumber' is not assignable to type 'number'.ts(2322)constvalue: number=math.quantileSeq([1,2,3],0.90);
I think value here should always be a number. This is the behaviour of for example math.mean and math.median.
The text was updated successfully, but these errors were encountered:
Describe the bug
The types for quantileSeq have an overly wide return type.
To Reproduce
I think value here should always be a number. This is the behaviour of for example
math.mean
andmath.median
.The text was updated successfully, but these errors were encountered: