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

Polkadot.js dependencies need @ts-ignore in node environment #109

Open
ferrell-code opened this issue Mar 21, 2023 · 0 comments
Open

Polkadot.js dependencies need @ts-ignore in node environment #109

ferrell-code opened this issue Mar 21, 2023 · 0 comments
Labels
A-compatibility Area: Issues and PRs related to Compatibility C-bug Category: Issues documenting a bug

Comments

@ferrell-code
Copy link
Contributor

ferrell-code commented Mar 21, 2023

Example snippit:

// @ts-ignore
import { u8aToBn } from '@polkadot/util';

Current version of polkadot.js used in sdk is not compatible with node16 and up which is needed for sdk. Take away the // @ts-ignore and it fails to compile when using sdk.

This may be resolved automatically if we bump polkadot.js packages to most recent versions

@ferrell-code ferrell-code added C-bug Category: Issues documenting a bug A-compatibility Area: Issues and PRs related to Compatibility labels Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-compatibility Area: Issues and PRs related to Compatibility C-bug Category: Issues documenting a bug
Projects
None yet
Development

No branches or pull requests

1 participant