mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
378 B
Diff
16 lines
378 B
Diff
--- old.argumentsPropertyNameInJsMode2.errors.txt
|
|
+++ new.argumentsPropertyNameInJsMode2.errors.txt
|
|
@@= skipped -0, +0 lines =@@
|
|
-<no content>
|
|
+a.js(5,6): error TS2554: Expected 0-1 arguments, but got 3.
|
|
+
|
|
+
|
|
+==== a.js (1 errors) ====
|
|
+ function f(x) {
|
|
+ arguments;
|
|
+ }
|
|
+
|
|
+ f(1, 2, 3);
|
|
+ ~~~~
|
|
+!!! error TS2554: Expected 0-1 arguments, but got 3.
|
|
+
|