TypeScript/tests/baselines/reference/parserUnaryExpression3.errors.txt
2014-09-12 13:35:07 -07:00

7 lines
391 B
Plaintext

tests/cases/conformance/parser/ecmascript5/Expressions/parserUnaryExpression3.ts(1,3): error TS2356: An arithmetic operand must be of type 'any', 'number' or an enum type.
==== tests/cases/conformance/parser/ecmascript5/Expressions/parserUnaryExpression3.ts (1 errors) ====
++[0];
~~~
!!! error TS2356: An arithmetic operand must be of type 'any', 'number' or an enum type.