Files
tsgo/testdata/baselines/reference/submodule/compiler/functionCall18.errors.txt

12 lines
392 B
Plaintext

functionCall18.ts(4,1): error TS2554: Expected 2 arguments, but got 1.
==== functionCall18.ts (1 errors) ====
// Repro from #26835
declare function foo<T>(a: T, b: T);
declare function foo(a: {});
foo<string>("hello");
~~~
!!! error TS2554: Expected 2 arguments, but got 1.
!!! related TS6210 functionCall18.ts:2:31: An argument for 'b' was not provided.