Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Bug Repro: Unused PropTypes detects flow destructuring #977
Hello! I figured I would open a PR instead of an issue to be able to show the two failing test cases.
The first, should pass because notTarget is used. But it fails with
And on the invalid side, I added a similar test case with two props, one unused, but it fails on the wrong prop.