truffle-typechain-example
truffle-typechain-example copied to clipboard
upgrade to truffle@5
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.