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/assert/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'packages/assert') diff --git a/packages/assert/README.md b/packages/assert/README.md index 59ab63e91..1ea6acfb5 100644 --- a/packages/assert/README.md +++ b/packages/assert/README.md @@ -8,6 +8,14 @@ Standard type and schema assertions to be used across all 0x projects and packag yarn add @0xproject/assert ``` +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 ```typescript -- cgit v1.2.3