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

7 lines
307 B
Plaintext

==== tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode5.ts (2 errors) ====
"use strict";
eval += 1;
~~~~
!!! error TS1100: Invalid use of 'eval' in strict mode.
~~~~~~~~~
!!! error TS2365: Operator '+=' cannot be applied to types '(x: string) => any' and 'number'.