TypeScript/tests/baselines/reference/parserUnaryExpression3.errors.txt

7 lines
391 B
Plaintext
Raw Normal View History

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.
2014-07-13 01:04:16 +02:00
==== 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.