Getting "Expected an assignment or function call and instead saw an expression" for typescript lambda functions

SonarQube Developer Edition 8.3.1.34397
Quality Profile: Typescript Sonar Way

Hi,
Please refer the below image.

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.

Any help would be much appreciated. :slight_smile: