Lesson 7: TypeError property 'blockConfirmations' does not exist on type 'HardhatNetworkConfig' #1622
RowinVanAmsterdam
started this conversation in
General
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.
-
I'm using TypeScript and got two typeErrors when I want to set the block confirmation in
hardhat.config.ts
and01-deploy-fund-me
.The error in
hardhat.config.ts
:As you can see in the code below the error appears because I use the type
HardhatUserConfig
. If I change it toany
the error is gone. But I still got the error in the01-deploy-fund-me
file. If I'm not mistaken the type HardhatUserConfig should be correct, see also the example in hardhat documentation.hardhat.config.ts
The error in
01-deploy-fund-me
:01-deploy-fund-me
It seems like both errors are related to the missing type of blockConfirmations. Any idea what the right type is or what I did wrong?
Beta Was this translation helpful? Give feedback.
All reactions