Files
tsgo/testdata/baselines/reference/submodule/compiler/assignmentToParenthesizedExpression1.errors.txt

11 lines
573 B
Plaintext

assignmentToParenthesizedExpression1.ts(2,1): error TS2364: The left-hand side of an assignment expression must be a variable or a property access.
assignmentToParenthesizedExpression1.ts(2,2): error TS2695: Left side of comma operator is unused and has no side effects.
==== assignmentToParenthesizedExpression1.ts (2 errors) ====
var x;
(1, x)=0;
~~~~~~
!!! error TS2364: The left-hand side of an assignment expression must be a variable or a property access.
~
!!! error TS2695: Left side of comma operator is unused and has no side effects.