When I run the following command:
flow-coverage-report -i 'src/**/*.js' -i 'src/**/*.jsx' -t html -t json -t text
I get this error for any file with a // @flow strict header:
Error while generating Flow Coverage Report: Error: Unexpected missing flow annotation on src/.../foo.js Error: Unexpected missing flow annotation on src/.../foo.js
When I remove 'strict' from that header comment, the errors moves on to another file with it. This is syntax officially supported by flow (https://flow.org/en/docs/strict/) so expected it to work with this tool.
When I run the following command:
flow-coverage-report -i 'src/**/*.js' -i 'src/**/*.jsx' -t html -t json -t textI get this error for any file with a
// @flow strictheader:When I remove 'strict' from that header comment, the errors moves on to another file with it. This is syntax officially supported by flow (https://flow.org/en/docs/strict/) so expected it to work with this tool.