TypeScript/tests/baselines/reference/genericClassImplementingGenericInterfaceFromAnotherModule.types
2015-04-15 16:44:20 -07:00

21 lines
354 B
Plaintext

=== tests/cases/compiler/genericClassImplementingGenericInterfaceFromAnotherModule.ts ===
module foo {
>foo : any
export interface IFoo<T> { }
>IFoo : IFoo<T>
>T : T
}
module bar {
>bar : typeof bar
export class Foo<T> implements foo.IFoo<T> { }
>Foo : Foo<T>
>T : T
>foo.IFoo : any
>foo : any
>IFoo : foo.IFoo<T>
>T : T
}