From 011bab3c80ec7b7a853e2e4b89473618f07e693d Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Mon, 5 Mar 2018 06:11:53 +0100 Subject: Add missing instructions to add external types to tsconfig.json after installing the package --- packages/0x.js/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'packages/0x.js/README.md') diff --git a/packages/0x.js/README.md b/packages/0x.js/README.md index 18c771234..2d0394726 100644 --- a/packages/0x.js/README.md +++ b/packages/0x.js/README.md @@ -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** -- cgit v1.2.3