Flow is a static type checker for Javascript developed by Facebook. It's similar in many ways to TypeScript.
The pros and cons of using a static type checker for Javascript.
ReadIntegrating the Flow static type checker with a Javascript backend.
Read