Add missing instructions to add external types to tsconfig.json after installing the package

This commit is contained in:
Fabio Berger
2018-03-05 06:11:53 +01:00
parent 699c0c3e05
commit 011bab3c80
9 changed files with 74 additions and 0 deletions

View File

@@ -8,6 +8,14 @@ Wrapped version of web3 with a nicer interface that is used across 0x projects a
yarn add @0xproject/web3-wrapper
```
If your project is in [TypeScript](https://www.typescriptlang.org/), add the following to your `tsconfig.json`:
```
"include": [
"./node_modules/web3-typescript-typings/index.d.ts",
]
```
## Usage
```typescript