Hacker GitHub

← All repos

gcanti/babel-plugin-tcomb

View on GitHub ↗ ★ 478 JavaScript archived

Babel plugin for static and runtime type checking using Flow and tcomb

7 mentions on Hacker News by 4 people: 2 stories, 5 comments · first 2016-06-17 · latest 2018-09-02

Mentions per year 7 mentions · busiest year 2016 (6)
20082026
  1. …to work with. With 3.0 they also improved error messages. EDIT: one thing I miss from flow is https://github.com/gcanti/babel-plugin-tcomb - it's quite handy to spot data errors (before you have big static coverage)
    comment by machiaweliczny · 2018-09-02 · in TypeScript at Google
  2. This is really neat! You may want to also look at https://github.com/gcanti/babel-plugin-tcomb for some inspiration- I've used tcomb extensively for runtime ADT and typing, but using just Flow would be an interesting challenge!
    comment by zdragnar · 2016-10-03 · in Runtime Introspection of Flow Types in JS
  3. …and more active (typescript stuff tends to come down from On High). For instance, you can use https://github.com/gcanti/babel-plugin-tcomb to get run-time type checking with babel/flow for free. That's really cool! Unfortunately, the same…
    comment by easong · 2016-09-22 · in Announcing TypeScript 2.0
  4. …in order to deal with those cumbersome runtime type checks. [1] https://github.com/gcanti/tcomb [2] https://github.com/gcanti/babel-plugin-tcomb
    comment by gcanti · 2016-07-16 · in Maintainable JavaScript (2014)
  5. ▲ 4
    Show HN: Combining Flow with tcomb to allow for runtime enforced refined types
    story by gcanti · 2016-07-14 · 0 comments
  6. ▲ 2
    Show HN: Babel plugin for static and runtime type checking using Flow and tcomb
    story by gcanti · 2016-07-03 · 0 comments
  7. …even more gradual. At the end of the process you get both static and runtime type safety. [1] https://github.com/gcanti/babel-plugin-tcomb