dethcrypto / truffle-typings

Typescript typings for Truffle
11 stars 9 forks source link

Add missing Web3.Contract property #8

Closed PaulRBerg closed 5 years ago

PaulRBerg commented 5 years ago

As per truffle version 5.0.0 and above, there's an additional Web3.Contract type in Truffle.ContractInstance. All I did was to add a new contract: any, but I guess it might be worth it to take a look at these web3 typings from 0x.

krzkaczor commented 5 years ago

Hey! Thanks for adding this. Yeah i think we can merge this despite the fact that proper support for 5.0 is on todo list. Could you revert version change I bump them manually. Also, please take a look at PR that I just merged.

krzkaczor commented 5 years ago

Manually copied and released as truffle-typings@1.0.8 Thanks for bringing this issue to my attention!