We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The flow example for prefer-exact-props has a typo. https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/prefer-exact-props.md
class Foo extends React.Component { props: {| bar: string }| render() { return <p>{this.props.bar}</p>; } }
The pipe is outside of the brackets instead of inside.
Example uses correct syntax.
7.31.11
n/a
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Is there an existing issue for this?
Description Overview
The flow example for prefer-exact-props has a typo.
https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/prefer-exact-props.md
The pipe is outside of the brackets instead of inside.
Expected Behavior
Example uses correct syntax.
eslint-plugin-react version
7.31.11
eslint version
n/a
node version
n/a
The text was updated successfully, but these errors were encountered: