Skip to content

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

@dmitrydrynov

Description

@dmitrydrynov

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions