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

7 lines
407 B
Plaintext
Raw Normal View History

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