github runtypes/runtypes v4.0.0

latest releases: v6.7.0, v6.6.0, v6.5.1...
4 years ago

Big thanks to @justingrant for the major contributions in this release:

  • Enable Constraint to have a custom name and/or a custom static type (#78)
    • Convenience method withGuard for producing runtypes from type guards
    • BREAKING CHANGE: Constraint's args parameter moved to within options parameter (this likely does not affect many users)
  • Adds TypeScript 3.5 compatibility

Don't miss a new runtypes release

NewReleases is sending notifications on new releases.