diff --git a/src/rules/no-expression-statements.ts b/src/rules/no-expression-statements.ts index 9926ec238..642c0f363 100644 --- a/src/rules/no-expression-statements.ts +++ b/src/rules/no-expression-statements.ts @@ -150,6 +150,7 @@ function checkExpressionStatement( typescript !== undefined && declaration !== undefined && typescript.isFunctionLike(declaration) && + !typescript.isArrowFunction(declaration) && "body" in declaration && declaration.body !== undefined && typescript.isBlock(declaration.body)