runtime-typecheck
v0.1.0
Published
Assert flow type annotations at runtime
Readme
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
