There currently isn't an official Ethers type definition included in the DefinitelyTyped project. Until that happens, we will continue to improve our own type definition. If it get's close to comprehensive, we'll add it to DefinitelyTyped.
yarn add -D ethers-typescript-typings
Add the following line within an include
section of your tsconfig.json
"./node_modules/ethers-typescript-typings/index.d.ts"
We strongly encourage that the community help us make improvements and determine the future direction of the protocol. To report bugs within this package, please create an issue in this repository.
Please read our contribution guidelines before getting started.
If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:
yarn config set workspaces-experimental true
Then install dependencies
yarn install
yarn lint