Roman Khranovskiy

Results 2 comments of Roman Khranovskiy

I stumbled upon the same error message today, and figured out minimal reproduction. Basically whenever condition computation throws switch will fail with this error. For me exact issue was accessing...

> You can put that in a single line, remove unneeded round brackets When i remove brackets, I get error from eslint: "Arrow function used ambiguously with a conditional expression...