Skip to content
This repository was archived by the owner on Feb 16, 2021. It is now read-only.

2.0.0-beta

Choose a tag to compare

@gcanti gcanti released this 31 May 16:53
· 293 commits to master since this release
  • New Feature
    • add support to types defined as ES6 classes fix #99
    • optimized for production code: asserts and freeze only in development mode
    • add is(x, type) function
    • add isType(x) function
  • Breaking change
    • numeric types on enums fix #93 (thanks @m0x72)
    • remove asserts when process.env.NODE_ENV === 'production' fix #100
    • do not freeze if process.env.NODE_ENV === 'production' fix #103
    • func without currying fix #96 (thanks @tmcw)
    • remove useless exports fix #104
    • drop bower support fix #101
    • remove useless exports
      • Type
      • slice
      • shallowCopy
      • getFunctionName