Truffle typings for migrations, tests etc. If you want to have fully typed contracts you need to use Typechain (target=truffle) project to generate typings based on ABIs. It doesn't force any new API.
yarn add --dev truffle-typings
or
npm install --save-dev truffle-typings