In my project, Flow throws an error because it cannot validate the flow-not-ok.js test file. I looked into this and it turns out that the v3.2.0 version does include the test folder, while the v3.1.0 did not.
The quick fix in my project is to flow ignore react-style-proptype. The proper solution, IMO, is to remove the test folder from the NPM package altogether and prevent it from being published ever again.
In my project, Flow throws an error because it cannot validate the
flow-not-ok.js
test file. I looked into this and it turns out that thev3.2.0
version does include the test folder, while thev3.1.0
did not.The quick fix in my project is to flow ignore
react-style-proptype
. The proper solution, IMO, is to remove the test folder from the NPM package altogether and prevent it from being published ever again.I created a PR to prevent that: https://github.com/brigand/react-style-proptype/pull/12
Let me know what you think!