-
I try to run an example react repo that uses ethers library. I am getting an error:
This is the file where it is happening: the line is:
What I understand from the code is that ethers.wallet.connet() function returns type is However, VScode is showing the connect() function is returning type How to fix this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I have the issue. the ethers version in the imx-sdk was 5.4.4 while in the react repo it was 5.4.6. |
Beta Was this translation helpful? Give feedback.
I have the issue. the ethers version in the imx-sdk was 5.4.4 while in the react repo it was 5.4.6.
Changing the react to use 5.4.4 solved the issue