-
Notifications
You must be signed in to change notification settings - Fork 55
BigNumber import Issue while running yarn build #252
base: dev
Are you sure you want to change the base?
Conversation
Hmm--BigNumber should come from the bignumber.js library, not our code. What is the error that you see without this change? |
Error |
while running yarn build without this |
ideally yes, but not sure why it doesn't pick from there |
I have the same problem. Both importing BigNumber from 'bignumber.js' or declaring a BigNumber interface works for me to solve this problem. However, it may be better to import from 'bignumber.js' as it should go from there. Though this is a purely ts error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This solves the issue
will this come under some sort of bug bounty if this get's merged? |
No description provided.