TypeScript/tests/baselines/reference/parserStrictMode6.errors.txt
2014-09-11 16:11:08 -07:00

7 lines
294 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode6.ts (2 errors) ====
"use strict";
eval++;
~~~~
!!! error TS1100: Invalid use of 'eval' in strict mode.
~~~~
!!! error TS2356: An arithmetic operand must be of type 'any', 'number' or an enum type.