7 lines
No EOL
279 B
Text
7 lines
No EOL
279 B
Text
==== 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'. |