TypeScript/tests/baselines/reference/genericClassImplementingGenericInterfaceFromAnotherModule.types

21 lines
354 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/genericClassImplementingGenericInterfaceFromAnotherModule.ts ===
module foo {
>foo : any
2014-08-15 23:33:16 +02:00
export interface IFoo<T> { }
>IFoo : IFoo<T>
>T : T
2014-08-15 23:33:16 +02:00
}
module bar {
>bar : typeof bar
2014-08-15 23:33:16 +02:00
export class Foo<T> implements foo.IFoo<T> { }
>Foo : Foo<T>
>T : T
>foo.IFoo : any
>foo : any
>IFoo : foo.IFoo<T>
>T : T
2014-08-15 23:33:16 +02:00
}