Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use bn.js without requiring type definition #70

Closed
remagpie opened this issue Dec 5, 2019 · 0 comments · Fixed by #71
Closed

Use bn.js without requiring type definition #70

remagpie opened this issue Dec 5, 2019 · 0 comments · Fixed by #71

Comments

@remagpie
Copy link
Contributor

remagpie commented Dec 5, 2019

#68 is fixed, but the current implementation requires the users to turn on allowSyntheticDefaultImports in their typescript configuration.
The root cause of the problem is the weird typescript behavior on bn.js, so it'd be better to just ignore its type definitions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant