Fix #21848: Allows to mutate const with non-null assertion (#21873)

This commit is contained in:
jack-williams authored and Mohamed Hegazy committed 2018-02-12 10:57:59 -08:00
1 parent ddf206b184
commit 67984c720e
6 files changed
+46

No files matched your search

+1
View File
@@ -1754,6 +1754,7 @@ namespace ts {
case SyntaxKind.ParenthesizedExpression:
case SyntaxKind.ArrayLiteralExpression:
case SyntaxKind.SpreadElement:
case SyntaxKind.NonNullExpression:
node = parent;
break;
case SyntaxKind.ShorthandPropertyAssignment: