Skip to content

Latest commit

 

History

History
 
 

web3-typescript-typings

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

web3-typescript-typings

There currently isn't an official Web3 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.

Installation

yarn add -D web3-typescript-typings

Usage

Add the following line within an include section of your tsconfig.json

"./node_modules/web3-typescript-typings/index.d.ts"

Contributing

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.

Install Dependencies

If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:

yarn config set workspaces-experimental true

Then install dependencies

yarn install

Lint

yarn lint