diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-29 06:25:42 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-29 06:25:42 +0800 |
commit | 6222c952c3273ba91f20b5616793c534bb6dca28 (patch) | |
tree | 0cd65e874a977c24a7bb5f03b3591a138bdfeca3 /packages/dev-utils/README.md | |
parent | b9c983b4d691e58894b8b47f8e5952fdfcc275f9 (diff) | |
parent | e5b09ba2fd366e485a864bc5819ebde5338f166c (diff) | |
download | dexon-sol-tools-6222c952c3273ba91f20b5616793c534bb6dca28.tar dexon-sol-tools-6222c952c3273ba91f20b5616793c534bb6dca28.tar.gz dexon-sol-tools-6222c952c3273ba91f20b5616793c534bb6dca28.tar.bz2 dexon-sol-tools-6222c952c3273ba91f20b5616793c534bb6dca28.tar.lz dexon-sol-tools-6222c952c3273ba91f20b5616793c534bb6dca28.tar.xz dexon-sol-tools-6222c952c3273ba91f20b5616793c534bb6dca28.tar.zst dexon-sol-tools-6222c952c3273ba91f20b5616793c534bb6dca28.zip |
Merge branch 'development' into feature/instant/quote-analytics
Diffstat (limited to 'packages/dev-utils/README.md')
-rw-r--r-- | packages/dev-utils/README.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/dev-utils/README.md b/packages/dev-utils/README.md index 73b0b8816..b85159dd8 100644 --- a/packages/dev-utils/README.md +++ b/packages/dev-utils/README.md @@ -27,6 +27,21 @@ If your project is in [TypeScript](https://www.typescriptlang.org/), add the fol } ``` +## Troubleshooting + +If you are still seeing TS type errors complaining about missing DOM types such as `Response`: + +``` +error TS2304: Cannot find name 'Response'. +``` + +Then you need to explicitly add the `dom` lib to your compiler options in `tsconfig.json`. The `dom` library is included by default, but customizing the `lib` option can cause it to be dropped. + +``` +"compilerOptions": { + "lib": [..., "dom"], +``` + ## Contributing We welcome improvements and fixes from the wider community! To report bugs within this package, please create an issue in this repository. |