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?
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?
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
file extension is .js, with a // [at] flow annotation