Support for Waffle's `deployContract` in hardhat target
After nomiclabs/hardhat#1726 is merged, it should be possible to support typing Waffle's deployContract via overloads as described here.
Would this change be a welcome contribution to this project?
I didn't look into the details of implementation too much but hell yeah! everything should be typed 😆
It seems like you want to introduce typed artifacts which seems like a good idea... Keep in mind that for now we typed only getContractFactory but there is getContractAt too (untyped now). Maybe typing artifacts once can help us to derive types for everything else in an automatic way.
Still waiting for any response from the hardhat maintainers on the above... would like to get this implemented.