TypeScript/tests/cases/compiler/typeParameterAndArgumentOfSameName1.ts

4 lines
95 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
function f<A extends Number>(A: A): A {
var r = A.toExponential(123);
return null;
}