Files
tsgo/testdata/baselines/reference/submodule/compiler/classImplementsImportedInterface.symbols

31 lines
966 B
Plaintext

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