diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-05 13:11:53 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-05 13:11:53 +0800 |
commit | 011bab3c80ec7b7a853e2e4b89473618f07e693d (patch) | |
tree | c796cdfff5e9659faeb3d849759674cfd4b6e96d /packages/connect | |
parent | 699c0c3e05d3a882c8a59fec4f035ec25cb43c9e (diff) | |
download | dexon-sol-tools-011bab3c80ec7b7a853e2e4b89473618f07e693d.tar.gz dexon-sol-tools-011bab3c80ec7b7a853e2e4b89473618f07e693d.tar.zst dexon-sol-tools-011bab3c80ec7b7a853e2e4b89473618f07e693d.zip |
Add missing instructions to add external types to tsconfig.json after installing the package
Diffstat (limited to 'packages/connect')
-rw-r--r-- | packages/connect/README.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/connect/README.md b/packages/connect/README.md index 7302322e6..393ea70a0 100644 --- a/packages/connect/README.md +++ b/packages/connect/README.md @@ -8,6 +8,14 @@ This repository contains a Javascript library that makes it easy to interact wit yarn add @0xproject/connect ``` +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 * [Docs](https://0xproject.com/docs/connect) |