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

SonarQube Developer Edition
Quality Profile: Typescript Sonar Way

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: