Getting started with flowtype
Flow checks your code for errors through static type annotations. These types allow you to tell Flow how you want your code to work, and Flow will make sure it does work that way.
You can also adopt Flow incrementally and easily remove it at anytime, so you can try Flow out on any codebase and see how you like it.
Flow works best when installed per-project with explicit versioning rather than globally.
Luckily, if you’re already familiar with
yarn, this process should be pretty familiar!
devDependency on the flow-bin
Running the command
flow init will generate a
.flowconfig file within the directory that be modified as needed.