TypeScript/tests/baselines/reference/parserStrictMode5.errors.txt
2014-07-24 13:01:25 -07:00

7 lines
279 B
Plaintext

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