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
I don't think immutable object props are supported.
Eslint: 3.19.0 Eslint-plugin-react: 7.0.1
The text was updated successfully, but these errors were encountered:
Can you provide sample code? What happens with eslint-plugin-react v7.1.0?
Sorry, something went wrong.
No change in v7.1.0.
// @flow import React from 'react'; type Props = {| +a: number, +b: string |}; const MyComp = ({ a, b }: Props) => <div>{a} <span>{b}</span></div>; export default MyComp;
My best guess is that AST handles flow covariants differently.
What happens if you remove the "exact" pipes? Same error?
This works now with the shared detection, but I think it was originally fixed in #1390.
No branches or pull requests
I don't think immutable object props are supported.
Eslint: 3.19.0
Eslint-plugin-react: 7.0.1
The text was updated successfully, but these errors were encountered: