dethcrypto / dethcrypto/TypeChain
Type the Contract object on Truffle targets
Open
- Dominant language
- TypeScript
- Stars
- 2.8k
- Forks
- 376
- PR merge metrics
- No merged PRs in 30d
Description
With target=truffle, TypeChain generates objects that extend Typechain's definition of Truffle.ContractInstance, which includes `contract: any`.
It would be better to replace `any` with the type generated for the same contract when the target = web3. Doing this manually requires what feels like brittle acrobatics in TypeScript.
Contributor guide
Assessment
This issue has not been assessed yet.