aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-05 13:11:53 +0800
committerFabio Berger <me@fabioberger.com>2018-03-05 13:11:53 +0800
commit011bab3c80ec7b7a853e2e4b89473618f07e693d (patch)
treec796cdfff5e9659faeb3d849759674cfd4b6e96d /packages/subproviders
parent699c0c3e05d3a882c8a59fec4f035ec25cb43c9e (diff)
downloaddexon-sol-tools-011bab3c80ec7b7a853e2e4b89473618f07e693d.tar
dexon-sol-tools-011bab3c80ec7b7a853e2e4b89473618f07e693d.tar.gz
dexon-sol-tools-011bab3c80ec7b7a853e2e4b89473618f07e693d.tar.bz2
dexon-sol-tools-011bab3c80ec7b7a853e2e4b89473618f07e693d.tar.lz
dexon-sol-tools-011bab3c80ec7b7a853e2e4b89473618f07e693d.tar.xz
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/subproviders')
-rw-r--r--packages/subproviders/README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/subproviders/README.md b/packages/subproviders/README.md
index 39e4a46e7..67a6a92d2 100644
--- a/packages/subproviders/README.md
+++ b/packages/subproviders/README.md
@@ -10,6 +10,14 @@ We have written up a [Wiki](https://0xproject.com/wiki#Web3-Provider-Examples) a
yarn add @0xproject/subproviders
```
+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
Simply import the subprovider you are interested in using: