-
-
Notifications
You must be signed in to change notification settings - Fork 208
Flow types reported as unused in function params with destructuring #553
Comments
Downgrading to babel-eslint-7.1.1 seems to have solved the issue for me. Was a regression introduced in a later version? |
7.2.1 works for me but >7.2.1 does not It seems any version higher than 7.2.1 causes eslint to return multiple Flow related errors including:
Setting |
Any news on this ? I'm facing the same issue. Regards. |
same thing with e.g. _renderItem = ({ item }: { item: Notification }) => {
console.log(item);
}
|
Rolling back to |
Having this issue as well |
Same issue here |
As a temporary workaround, destructure inside function: const MyComponent = (props: { ids: string[] }) => {
const { ids } = props;
...
} |
Thank you for the issue. Now that |
Yes, for some reason, I have the same issue as #236.
Here's the relevant bit of source code
And the definition of Props
My eslintrc
Could someone please tell me what I am doing wrong?
The text was updated successfully, but these errors were encountered: