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

7 lines
389 B
Plaintext
Raw Normal View History

tests/cases/conformance/parser/ecmascript5/Expressions/parserUnaryExpression4.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/parserUnaryExpression4.ts (1 errors) ====
++{};
~~
!!! error TS2356: An arithmetic operand must be of type 'any', 'number' or an enum type.