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

v0.1.6

Choose a tag to compare

@gcanti gcanti released this 28 Apr 11:42
· 2 commits to v0.1.x since this release
  • New Feature
    • support alternative format for default param type annotations, fix #18
    • "require" based imports of tcomb libraries now resolve to a tcombLocalName (@ctrlplusb)
    • Guarding of tcomb imports, ensuring that tcomb is imported within the scope of any functions that have type checking, fix #21 (@ctrlplusb)
    • add support for object structure type annotations, e.g. function foo(x : { bob: t.String, baz: t.Number }), fix #24 (@ctrlplusb)
    • better error messages, fix #25
  • Bug fix
    • Errors were thrown for functions with default'ed params and a type checked return value, fix #19 (@ctrlplusb)
    • Imports of extended tcomb libraries (e.g. "tcomb-react") now correctly resolve to a tcombLocalName (@ctrlplusb)