Via npm:
npm install --save-dev types-web3-provider-engine
or yarn:
yarn add types-web3-provider-engine -D
Don't forget to manually include index.d.ts
within an include
section of your tsconfig.json
"include": [
...
"./node_modules/types-web3-provider-engine/index.d.ts"
]