1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 20:46:00 +02:00

flow: add page (#4978)

This commit is contained in:
Axel Navarro 2020-12-09 11:13:00 -03:00 committed by GitHub
parent 8c73770afb
commit bd07d874ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
pages/common/flow.md Normal file
View file

@ -0,0 +1,20 @@
# 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}}`