TypeScript/tests/cases/compiler/fixTypeParameterInSignatureWithRestParameters.ts

2 lines
68 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
function bar<T>(item1: T, item2: T) { }
bar(1, ""); // Should be ok