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