@types/big-rat seems to have a wrong type definition for big-rat/to-float #69257
Unanswered
AugustePop
asked this question in
Issues with a @types package
Replies: 1 comment
-
Hi, we could not find a reference to the types you are talking about in this discussion. E.g.
By doing this, I can ping the folks who maintain the types you are referring to. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, this function is defined as returning as BigRat.Rat type. It seems it should return a simple number.
@types/big-rat define big-rat/to-float as (BigRat.Rat) => BigRat.Rat.
It should be (BigRat.Rat) => number.
Beta Was this translation helpful? Give feedback.
All reactions