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

Typegen adding invalid import #5977

Open
TarikGul opened this issue Sep 9, 2024 · 0 comments
Open

Typegen adding invalid import #5977

TarikGul opened this issue Sep 9, 2024 · 0 comments

Comments

@TarikGul
Copy link
Member

TarikGul commented Sep 9, 2024

rel: #5972

Currently the typegen for 1.3.0 for Kusama is adding StagingXcmV4Xcm to the imports of query.ts when there is no use of the Import. This is causing typescript build issues. I am not able to find the source of the issue as the code is quite complicated. Due to this being a relatively harmless issue, I am adding a build rule to ignore it!

That being said this issue should be fixed, and the bug can be replicated by removing the "noUnusedLocals": false rules in the tsconfig compiler options for the builds.

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

1 participant