Unused type in new release
'PromiseOrValue' is declared but never used.
with "@typechain/ethers-v5": "10.1.0" / "typechain": "8.1.0"
Is it coming from eslint or ts? if it's eslint we add the artifacts to eslintignore
typescript
I don't think noUnusedLocals: false should be required
I think this might also be related to the issue I have been having! #686
This is also breaking our build, and there doesn't seem to be an easy automated fix.
I was able to reproduce this with @typechain/[email protected] and [email protected], but downgrading to @typechain/[email protected] and keeping [email protected] seemed to work.
Published a fix in #776 that's fairly simple. Changing the tsconfig for a project for us for this codegen issue isn't really a great option as well, especially since the recommendation from the typechain team is to include typechain in the build step for your project.