Closed cothi closed 1 year ago
hi @cothi thanks for providing this information.
The Long
library is seemingly having issues.
Because when we do import Long from 'long'
we got an error. Now that we have import * as Long from 'long'
we still have an error... One thought is maybe we need to install long types. I will look into this.
Another question — would you be willing to add me to your repo so I can take a deeper look and investigate in your environment? This could help us solve the issue with more visibility, let me know
working on a PR to fix the TS stuff: https://github.com/osmosis-labs/osmojs/pull/20
try osmojs@0.33.0
and let me know, I switched it back to import Long from 'long'
and other TS fixes/cleanup.
thanks, solved :)
amazing! So happy to hear @cothi :)
hello my tsconfig.json
my react App.tsx code
i refer https://github.com/osmosis-labs/osmojs/issues/18, then fix my tsconfig.json but, i see this error
how can i fix error ?