TypeScript/tests/baselines/reference/genericClassImplementingGenericInterfaceFromAnotherModule.types
2014-08-28 12:40:58 -07:00

20 lines
345 B
Plaintext

=== tests/cases/compiler/genericClassImplementingGenericInterfaceFromAnotherModule.ts ===
module foo {
>foo : unknown
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 : unknown
>IFoo : foo.IFoo<T>
>T : T
}