dethcrypto / dethcrypto/TypeChain

Type is declared but never used.ts (6196)

Open
#686 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.8k
Forks
376
PR merge metrics
No merged PRs in 30d

Description

I am using the abi from an open source contract and when I create types with typechain it has a line `import type { PayableTransactionObject }` This gives me the error `'PayableTransactionObject' is declared but never used.ts (6196).` How can I avoid this without making my tsconfig less strict?

At the moment I am just deleting the line which makes everything work. However this means I need to track the file in git which goes against the recommendation of making typechain part of the build process.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.