TypeScript declaration for truffle-contract
Installation
yarn add @machinomy/types-truffle-contract --dev
Usage
Either manually include index.d.ts within an include section of your tsconfig.json
"include": [
...
"./node_modules/@machinomy/types-truffle-contract/index.d.ts"
]
or set package to types section:
"types": [
"@machinomy/types-truffle-contract"
]