You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you put chains other than hardhat inside targetNetwork or have more than 1 length we get this error :
Full error : 1. 'scaffoldConfig' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer. [7022]
This was introduced in #630, after a lot of digging it seems that it is caused because we are importing scaffoldConfig inside abi.d.ts file. I think because .d.ts is kind of a global file maybe because of it this is caused but not completely sure but maybe @sverps has a better explanation and a solution too 🙌
Like after removing the import of scaffoldConfig the error is gone.
The text was updated successfully, but these errors were encountered:
Description
If you put chains other than
hardhat
insidetargetNetwork
or have more than 1 length we get this error :Full error :
1. 'scaffoldConfig' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer. [7022]
This was introduced in #630, after a lot of digging it seems that it is caused because we are importing
scaffoldConfig
insideabi.d.ts
file. I think because.d.ts
is kind of a global file maybe because of it this is caused but not completely sure but maybe @sverps has a better explanation and a solution too 🙌Like after removing the import of scaffoldConfig the error is gone.
The text was updated successfully, but these errors were encountered: