The above error is shown for a Typescript Lambda function. I can’t understand why this is showing as an error. Can you please help me to get this clarified and fixed.
We will support optional chaining with SonarJS in SonarQube 8.5 based on our development team here, which will be released very soon. Keep on eye on the What’s new page and look for the latest download here. I also highly suggest you sign up for our announcement email on this page as well: Sonar Community - Home of Clean Code
Please also note this:
Since SonarTS v2.0, TypeScript analysis is performed by SonarJS analyzer v6.0 or later. No TypeScript analysis is performed by SonarTS.)