mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
386 B
Plaintext
11 lines
386 B
Plaintext
1.ts(2,10): error TS1100: Invalid use of 'arguments' in strict mode.
|
|
|
|
|
|
==== 0.ts (0 errors) ====
|
|
export function foo() { return "foo"; }
|
|
|
|
==== 1.ts (1 errors) ====
|
|
var p1 = import("./0");
|
|
function arguments() { } // this is allow as the file doesn't have implicit "use strict"
|
|
~~~~~~~~~
|
|
!!! error TS1100: Invalid use of 'arguments' in strict mode. |