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

29 lines
352 B
Plaintext

=== tests/cases/compiler/classImplementsImportedInterface.ts ===
module M1 {
>M1 : any
export interface I {
>I : I
foo();
>foo : () => any
}
}
module M2 {
>M2 : typeof M2
import T = M1.I;
>T : any
>M1 : any
>I : T
class C implements T {
>C : C
>T : T
foo() {}
>foo : () => void
}
}