Lesson 6: SimpleStorage.ts in typechain-types has a bunch of incorrect imports #5829
Unanswered
affanmustafa
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
After running the command
yarn hardhat typechain, I got theSimpleStorage.tsfile in thetypechain-typesfolder. However, it has a bunch of imports that contain errors.Out of this,
FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listenerare incorrectly imported and the error saysModule "ethers" has no exported memeber 'FunctionFragment'. I am using Ethers 5.4.0Beta Was this translation helpful? Give feedback.
All reactions