ton-community / ton-contract-executor

The TON Contract Executor allows you to write, debug, and fully test your contracts before launching them to the TON blockchain.
64 stars 11 forks source link

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

Open dmitrydrynov opened 1 year ago

dmitrydrynov commented 1 year ago

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