diff --git a/src/compiler/factory.ts b/src/compiler/factory.ts index 01e67105a56..cbca0d3fdf4 100644 --- a/src/compiler/factory.ts +++ b/src/compiler/factory.ts @@ -3958,6 +3958,7 @@ namespace ts { if (stopAtCallExpressions) { return node; } + // falls through case SyntaxKind.ElementAccessExpression: case SyntaxKind.PropertyAccessExpression: node = (node).expression;