Support for flowtype generics in sonarcloud

With some googling it seems to be suggested that sonarcloud does support flow syntax and generics but i am getting an error around this application of generics. I dont think that this is the fault of the code

any ideas?

Screenshot 2021-09-03 at 12.49.31

Hello,

Seems like there is a parsing ambiguity, instead of a function call with generic your expression is parsed as 2 comparisons with | operator.
Unfortunately I failed to reproduce it. It might be that other code in this file makes it impossible to parse correctly. Could you provide the whole file? Also I need the extension of the file.

Thank you
Elena

We are seeing a lot of false error regarging flowtype genrics, is there anything we can do ?

file extension is .js, with a // [at] flow annotation