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

29 lines
905 B
Plaintext

=== tests/cases/compiler/classImplementsImportedInterface.ts ===
module M1 {
>M1 : Symbol(M1, Decl(classImplementsImportedInterface.ts, 0, 0))
export interface I {
>I : Symbol(I, Decl(classImplementsImportedInterface.ts, 0, 11))
foo();
>foo : Symbol(foo, Decl(classImplementsImportedInterface.ts, 1, 24))
}
}
module M2 {
>M2 : Symbol(M2, Decl(classImplementsImportedInterface.ts, 4, 1))
import T = M1.I;
>T : Symbol(T, Decl(classImplementsImportedInterface.ts, 6, 11))
>M1 : Symbol(M1, Decl(classImplementsImportedInterface.ts, 0, 0))
>I : Symbol(T, Decl(classImplementsImportedInterface.ts, 0, 11))
class C implements T {
>C : Symbol(C, Decl(classImplementsImportedInterface.ts, 7, 20))
>T : Symbol(T, Decl(classImplementsImportedInterface.ts, 6, 11))
foo() {}
>foo : Symbol(foo, Decl(classImplementsImportedInterface.ts, 8, 26))
}
}