Files
tsgo/testdata/baselines/reference/submoduleAccepted/compiler/argumentsPropertyNameInJsMode2.errors.txt.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.
+