aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web3-typescript-typings/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'packages/web3-typescript-typings/README.md')
-rw-r--r--packages/web3-typescript-typings/README.md9
1 files changed, 3 insertions, 6 deletions
diff --git a/packages/web3-typescript-typings/README.md b/packages/web3-typescript-typings/README.md
index ffe1e00fa..8d92aa681 100644
--- a/packages/web3-typescript-typings/README.md
+++ b/packages/web3-typescript-typings/README.md
@@ -18,11 +18,8 @@ Using yarn:
```
yarn add web3-typescript-typings -D
```
-Also don't forget to manually include `index.d.ts` within an `include` section of your `tsconfig.json`
+Also don't forget to manually include the definitions within the `typeRoots` section of your `tsconfig.json`
```
-"include": [
- ...
- "./node_modules/web3-typescript-typings/index.d.ts"
-]
+"typeRoots": ["node_modules/@types", "node_modules/web3-typescript-typings"]
```
-And you're ready to go to a bright type-safe and distributed future! \ No newline at end of file
+And you're ready to go to a bright type-safe and distributed future!