Hello, does anybody use hardhat? I have a following problem in VSC on win10:

hardhat.config.ts:40:3 - error TS2322: Type '{ solidity: { version: string; settings: { optimizer: { enabled: boolean; runs: number; }; }; }; defaultNetwork: string; networks: NetworksUserConfig | undefined; paths: { ...; }; ... 7 more ...; etherscan: { ...; }; }' is not assignable to type 'HardhatUserConfig'.

Any idea how to fix it?

Sep 2, 2021, 9:26 PM
Just use javascript, not typescript if you re a beginner
Sep 2, 2021, 11:04 PM

© 2024 Draquery.com All rights reserved.