mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
392 B
Plaintext
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.
|
|
|