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


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