TypeScript/tests/baselines/reference/genericClassImplementingGenericInterfaceFromAnotherModule.types

20 lines
345 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/genericClassImplementingGenericInterfaceFromAnotherModule.ts ===
module foo {
2014-08-28 21:40:58 +02:00
>foo : unknown
2014-08-15 23:33:16 +02:00
export interface IFoo<T> { }
>IFoo : IFoo<T>
>T : T
}
module bar {
2014-08-28 21:40:58 +02:00
>bar : typeof bar
2014-08-15 23:33:16 +02:00
export class Foo<T> implements foo.IFoo<T> { }
>Foo : Foo<T>
>T : T
2014-08-28 21:40:58 +02:00
>foo : unknown
2014-08-25 19:36:12 +02:00
>IFoo : foo.IFoo<T>
2014-08-15 23:33:16 +02:00
>T : T
}