5 lines
113 B
TypeScript
5 lines
113 B
TypeScript
|
// Repro from #26835
|
||
|
declare function foo<T>(a: T, b: T);
|
||
|
declare function foo(a: {});
|
||
|
foo<string>("hello");
|