19 lines
419 B
Plaintext
19 lines
419 B
Plaintext
|
=== tests/cases/compiler/typeParameterAndArgumentOfSameName1.ts ===
|
||
|
function f<A extends Number>(A: A): A {
|
||
|
>f : <A extends Number>(A: A) => A
|
||
|
>A : A
|
||
|
>Number : Number
|
||
|
>A : A
|
||
|
>A : A
|
||
|
>A : A
|
||
|
|
||
|
var r = A.toExponential(123);
|
||
|
>r : string
|
||
|
>A.toExponential(123) : string
|
||
|
>A.toExponential : (fractionDigits?: number) => string
|
||
|
>A : A
|
||
|
>toExponential : (fractionDigits?: number) => string
|
||
|
|
||
|
return null;
|
||
|
}
|