Contract
class balances
method calls are typed as implicit any
#4464
Labels
Contract
class balances
method calls are typed as implicit any
#4464
In the following,
contract.balances
andresult
are implicitly typed asany
, because theContract
class doesn't have abalances
method.All tests for
getBalancesInSingleCall
only check fortoBeDefined()
orstrictEquals({})
, with the exception of the following:'should track and use the currently selected chain ID and provider when getting balances in a single call'
The fact that this test passes at runtime suggests that either this bug is only an issue at the type level, or there is a fallback method being called instead.
The text was updated successfully, but these errors were encountered: