Hello, I just updated to the latest BigNumber.js (10.0.2).
Now the return type of .toFraction() is BigNumber | [BigNumber, BigNumber], while it used to be [BigNumber, BigNumber]. Was this deliberate? It doesn't seem like it was since the documentation (https://mikemcl.github.io/bignumber.js/#toFr) says it should be an array of two BigNumbers.
Thank you
Hello, I just updated to the latest BigNumber.js (10.0.2).
Now the return type of
.toFraction()isBigNumber | [BigNumber, BigNumber], while it used to be[BigNumber, BigNumber]. Was this deliberate? It doesn't seem like it was since the documentation (https://mikemcl.github.io/bignumber.js/#toFr) says it should be an array of two BigNumbers.Thank you