37 lines
541 B
Plaintext
37 lines
541 B
Plaintext
|
=== tests/cases/conformance/types/typeParameters/typeParameterLists/typeParametersAvailableInNestedScope2.ts ===
|
||
|
function foo<T, U>(x: T, y: U) {
|
||
|
>foo : <T, U>(x: T, y: U) => void
|
||
|
>T : T
|
||
|
>U : U
|
||
|
>x : T
|
||
|
>T : T
|
||
|
>y : U
|
||
|
>U : U
|
||
|
|
||
|
function bar<V>(z: V) {
|
||
|
>bar : <V>(z: V) => void
|
||
|
>V : V
|
||
|
>z : V
|
||
|
>V : V
|
||
|
|
||
|
function baz<W>(a: W) {
|
||
|
>baz : <W>(a: W) => void
|
||
|
>W : W
|
||
|
>a : W
|
||
|
>W : W
|
||
|
|
||
|
var c: T;
|
||
|
>c : T
|
||
|
>T : T
|
||
|
|
||
|
var d: U;
|
||
|
>d : U
|
||
|
>U : U
|
||
|
|
||
|
var e: V;
|
||
|
>e : V
|
||
|
>V : V
|
||
|
}
|
||
|
}
|
||
|
}
|