Skip to content

Commit

Permalink
fix TypeScript compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
gcanti committed Sep 3, 2020
1 parent 1519979 commit 15ff998
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ starting from `0.5.0` you must install `fp-ts`, `io-ts`, `newtype-ts` and `monoc

# TypeScript compatibility

The stable version is tested against TypeScript 3.2.2, but should run with TypeScript 3.0.1+ too

**Note**. If you are running `< [email protected]` you have to polyfill `unknown`.

You can use [unknown-ts](https://github.com/gcanti/unknown-ts) as a polyfill.
| `io-ts-types` version | required `typescript` version |
| --------------------- | ----------------------------- |
| 0.5.x | 3.5+ |
| 0.4.x | 3.1+ |

# Documentation

Expand Down

0 comments on commit 15ff998

Please sign in to comment.