Flow throws in package's source, but doesn't throw in installed version of package
- Dominant language
- Rust
- Stars
- 22.3k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
I faced weird case w/ one of my libs.
Here is the repo: https://github.com/shakacode/react-validation-layer
I ship typedefs within a package (I copy source files w/ `.flow` suffix).
You can clone it and run flow to make sure that everything's fine (or just [look at the CI job](https://travis-ci.org/shakacode/react-validation-layer/jobs/218345634)).
However, when I add this package to the app and run flow, it throws:

Here is an empty repo to reproduce: https://github.com/alexfedoseev/flow-lib-typedefs-error
Just flow and lib are installed.
If I remove this suppress comment in the package source, it throws there. But if this comment exists in the installed version of the package, flow throws `Unused suppression`.
Flow versions are identical (`0.42.0`).
Contributor guide
Assessment
This issue has not been assessed yet.