Open rvdende opened 4 years ago
Thank you for the PR. I'm not a user of Typescript, so I'm not really sure how to evaluate this. I'll try to see if any of the other committers for this repo have the prerequisite knowledge to evaluate this PR.
Thank you for bringing this to our attention. To get around this issue quickly I recommend adding
"esModuleInterop": true
to your TypeScript configuration file.
We will look into resolving all of the TS issues and improving the TS coverage of this library very soon.
Thanks for the feedback. I'm quite sure I tried with "esModuleInterop": true
and still had the same problem, so I figured it is worth fixing in this package so others won't get the same issue.
Any chance to get this merged?
Is there any blocker as why this hasn't been merged yet? esModuleInterop
set to true
breaks some other libraries and I'd like to avoid using it if possible.
Hi
In a new typescript project when using bitbox-sdk by
npm i bitbox-sdk
:When using tsc to compile the typescript it reports these errors:
I found that this works around the issue.