Files
tsgo/testdata/baselines/reference/submodule/compiler/functionCall18.js

13 lines
249 B
TypeScript

//// [tests/cases/compiler/functionCall18.ts] ////
//// [functionCall18.ts]
// Repro from #26835
declare function foo<T>(a: T, b: T);
declare function foo(a: {});
foo<string>("hello");
//// [functionCall18.js]
"use strict";
foo("hello");