-
Notifications
You must be signed in to change notification settings - Fork 39
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
'Long' only refers to a type, but is being used as a namespace here. #41
Comments
@webmaster128 Can you help me with this |
Do you have long or @types/long installed in your project? We use both in version 4 (not version 5!) and this seems to work. |
Actually I installed osmojs, which has cosmjs/proto-signing as dependency and which inturn has dependency for cosmjs-types |
an example error : node_modules/cosmjs-types/cosmos/tx/signing/v1beta1/signing.d.ts:113:42 - error TS2702: 'Long' only refers to a type, but is being used as a namespace here. 113 sequence?: string | number | Long.Long | undef |
@pyramation do you have an idea what could be wrong with osmojs? Are you maintaining that? |
we had a similar issue in osmojs but used The issue I believe has to do with the way |
@webmaster128 @pyramation What should i do now ? |
I think you should leverage |
Thanks @pyramation @webmaster128 looking forward for the cosmjs update soon |
Thanks, @pyramation @webmaster128 looking forward for the cosm-js update soon |
The latest release cosmjs-types 0.9.0 gets rid of long entirely. All 64 bit integers types use bigint now. |
getting this error in all the places where Long is used in side the directory
node_modules/cosmjs-types/tendermint
The text was updated successfully, but these errors were encountered: