TypeScript/tests/baselines/reference/inOperatorWithGeneric.types

17 lines
214 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/inOperatorWithGeneric.ts ===
class C<T> {
>C : C<T>
>T : T
2014-08-15 23:33:16 +02:00
foo(x:T) {
>foo : (x: T) => void
>x : T
>T : T
2014-08-15 23:33:16 +02:00
for (var p in x) {
>p : any
>x : T
2014-08-15 23:33:16 +02:00
}
}
}