1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 17:22:08 +02:00
tldr/pages/common/flow.md
2020-12-09 11:13:00 -03:00

20 lines
394 B
Markdown

# flow
> A static type checker for JavaScript.
> More information: <https://flow.org>.
- 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}}`