17 lines
214 B
Text
17 lines
214 B
Text
|
=== tests/cases/compiler/inOperatorWithGeneric.ts ===
|
||
|
class C<T> {
|
||
|
>C : C<T>
|
||
|
>T : T
|
||
|
|
||
|
foo(x:T) {
|
||
|
>foo : (x: T) => void
|
||
|
>x : T
|
||
|
>T : T
|
||
|
|
||
|
for (var p in x) {
|
||
|
>p : any
|
||
|
>x : T
|
||
|
}
|
||
|
}
|
||
|
}
|