mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
858 B
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]'.
|
|
};
|
|
|