The new baselines all look correct to me, but obviously a number of the tests need to be updated to reflect union types and the new behavior of best common type. This commit does not cover that.
8 lines
No EOL
424 B
Text
8 lines
No EOL
424 B
Text
tests/cases/compiler/fixTypeParameterInSignatureWithRestParameters.ts(2,1): error TS2346: Supplied parameters do not match any signature of call target.
|
|
|
|
|
|
==== tests/cases/compiler/fixTypeParameterInSignatureWithRestParameters.ts (1 errors) ====
|
|
function bar<T>(item1: T, item2: T) { }
|
|
bar(1, ""); // Should be ok
|
|
~~~~~~~~~~
|
|
!!! error TS2346: Supplied parameters do not match any signature of call target. |