0.1.0 • Published 8 years ago

runtime-typecheck v0.1.0

Weekly downloads
2
License
MIT
Repository
-
Last release
8 years ago

runtime-typecheck

A babel plugin and library for converting flow types into runtime type assertions.

Goals:

  • Fastish type assertions on the arguments and return types of all annoted functions
  • Support for generics
  • Support for calling code and providing generic information across module boundaries
  • Fastish compilation
  • Smart type assertions for things like Promises

Non-goals

  • Any sort of static analysis
  • Supporting the entire of the flow type system
  • Supporting flow comments
  • Support for node versions < 5