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

import * as Long from 'long'; #18

Closed
rixhy-cyd opened this issue Oct 13, 2022 · 2 comments
Closed

import * as Long from 'long'; #18

rixhy-cyd opened this issue Oct 13, 2022 · 2 comments

Comments

@rixhy-cyd
Copy link

Screenshot 2022-10-13 at 4 36 58 PM

@pyramation still facing issue for the long import

@pyramation
Copy link
Collaborator

you need to use the esModuleInterop flag in your tsconfig

look at osmojs's config for reference:

"esModuleInterop": true,

@rixhy-cyd
Copy link
Author

you need to use the esModuleInterop flag in your tsconfig

look at osmojs's config for reference:

"esModuleInterop": true,

I have this configuration in my tsconfig but still it doesn't work

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

No branches or pull requests

2 participants