DEV Community

Discussion on: Validate javascript data type in runtime? Yes, Hello Type.

 
stereobooster profile image
stereobooster

Checkout my post about IO validation, it shows how to make a bridge between static types (Flow or TypeScript) and runtime type checking.

If you wonder why one need types, read my post on how types help to prevent bugs here