truffle-typechain-example icon indicating copy to clipboard operation
truffle-typechain-example copied to clipboard

upgrade to truffle@5

Open krzkaczor opened this issue 5 years ago • 1 comments

krzkaczor avatar Jan 21 '20 21:01 krzkaczor

Hi,

I am trying to get this working with Truffle v5 as well.

When I check your branch I get this error

 tsc --noEmit
node_modules/truffle-typings/index.d.ts:8:21 - error TS1340: Module 'web3' does not refer to a type, but is used as a type here. Did you mean 'typeof import('web3')'?

8 declare type Web3 = import("web3");
                      ~~~~~~~~~~~~~~

However looks like this is a known issue https://github.com/ethereum/web3.js/issues/2363

If any help needed here please let me know and I can investigate as well.

miohtama avatar Mar 05 '20 19:03 miohtama