diff --git a/pages/common/flow.md b/pages/common/flow.md new file mode 100644 index 0000000000..3c4caf41f5 --- /dev/null +++ b/pages/common/flow.md @@ -0,0 +1,20 @@ +# flow + +> A static type checker for JavaScript. +> More information: . + +- Run a flow check: + +`flow` + +- Check which files are being checked by flow: + +`flow ls` + +- Run a type coverage check on all files in a directory: + +`flow batch-coverage --show-all --strip-root {{path/to/directory}}` + +- Display line-by-line type coverage stats: + +`flow coverage --color {{path/to/file.jsx}}`