TypeScript/tests/baselines/reference/alwaysStrict.errors.txt
Slawomir Sadziak 29a85e02ab Fix #10758 Add compiler option to parse in strict mode
* add compiler option alwaysStrict
 * compile in strict mode when option is set
 * emit "use strict"
2016-10-10 00:03:33 +02:00

10 lines
309 B
Plaintext

tests/cases/compiler/alwaysStrict.ts(3,9): error TS1100: Invalid use of 'arguments' in strict mode.
==== tests/cases/compiler/alwaysStrict.ts (1 errors) ====
function f() {
var arguments = [];
~~~~~~~~~
!!! error TS1100: Invalid use of 'arguments' in strict mode.
}