Files
tsgo/testdata/baselines/reference/submoduleAccepted/compiler/argumentsReferenceInFunction1_Js.errors.txt.diff

17 lines
858 B
Diff

--- old.argumentsReferenceInFunction1_Js.errors.txt
+++ new.argumentsReferenceInFunction1_Js.errors.txt
@@= skipped -0, +0 lines =@@
index.js(1,25): error TS7006: Parameter 'f' implicitly has an 'any' type.
-index.js(13,29): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[f?: any, ...any[]]'.
+index.js(13,29): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[f?: any]'.
==== index.js (2 errors) ====
@@= skipped -18, +18 lines =@@
const debuglog = function() {
return format.apply(null, arguments);
~~~~~~~~~
-!!! error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[f?: any, ...any[]]'.
+!!! error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[f?: any]'.
};