This is an example application with library written in 100% raw and native nodeJS code which use Flow comment annotations feature:
https://flow.org/blog/2015/02/20/Flow-Comments/
- Install dependency
npm i
- Run
flow check
by runningnpm test
command
You should see 3 errors thrown by flow.