github gcanti/io-ts 0.1.1

latest releases: 2.2.20, 2.2.19, 2.2.18...
7 years ago
  • New Feature
    • add support for jsnext
    • add Integer type
  • Breaking Changes
    • t.Object type. Renamed to t.Dictionary, now accepts arrays so is fully equivalent to { [key: string]: any }.
    • t.instanceOf combinator. Removed.
    • t.object combinator. Renamed to t.interface. ObjectType to InterfaceType. Excess properties are now pruned.
    • mapping combinator. Renamed to dictionary. MappingType to DictionaryType.
    • intersection combinator. Due to the new excess property pruning in t.interface now only accept InterfaceTypes.
    • API isSuccess removed, use either.isRight instead
    • API isFailure removed, use either.isLeft instead
    • API fromValidation removed

Don't miss a new io-ts release

NewReleases is sending notifications on new releases.