I am trying to use the library with the most recent Ethers library (5.4.1) in TypeScript.
Yet, because Ethers updated their types, the types are incompatible.
I am getting this error:
Type 'import("/node_modules/@ethersproject/abstract-provider/lib/index").Provider' is not assignable to type 'import("/node_modules/eth-balance-checker/node_modules/ethers/providers/abstract-provider").Provider'.
The types returned by 'getGasPrice()' are incompatible between these types.
Type 'Promise<import("/node_modules/@ethersproject/bignumber/lib/bignumber").BigNumber>' is not assignable to type 'Promise<import("/node_modules/eth-balance-checker/node_modules/ethers/utils/bignumber").BigNumber>'.
Property 'maskn' is missing in type 'import("/node_modules/@ethersproject/bignumber/lib/bignumber").BigNumber' but required in type 'import("/node_modules/eth-balance-checker/node_modules/ethers/utils/bignumber").BigNumber'.```
I am trying to use the library with the most recent Ethers library (5.4.1) in TypeScript.
Yet, because Ethers updated their types, the types are incompatible.
I am getting this error: