mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
249 B
TypeScript
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");
|