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

BitString from "ton" is not assignable to type BitString from ton-contract-executor #11

Open
dmitrydrynov opened this issue Dec 26, 2022 · 0 comments

Comments

@dmitrydrynov
Copy link

dmitrydrynov commented Dec 26, 2022

How can I fix it?

Argument of type 'import(".../hello-world/node_modules/ton/dist/boc/Cell").Cell' is not assignable to parameter of type 'import(".../hello-world/node_modules/ton-contract-executor/node_modules/ton/dist/boc/Cell").Cell'.
  Types of property 'bits' are incompatible.
    Type 'import(".../hello-world/node_modules/ton/dist/boc/BitString").BitString' is not assignable to type 'import(".../hello-world/node_modules/ton-contract-executor/node_modules/ton/dist/boc/BitString").BitString'.
      Property '#private' in type 'BitString' refers to a different member that cannot be accessed from within type 'BitString'.

contract = await SmartContract.fromCell(initCodeCell, initDataCell);
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