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

@@ -18,6 +18,15 @@ npm install 0x.js --save
import { ZeroEx } from '0x.js';
```
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",
"./node_modules/ethers-typescript-typings/index.d.ts"
]
```
#### UMD:
**Install**