flow: add page (#4978)
This commit is contained in:
20
pages/common/flow.md
Normal file
20
pages/common/flow.md
Normal 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}}`
|
Reference in New Issue
Block a user