25 lines
945 B
Text
25 lines
945 B
Text
=== tests/cases/compiler/exportImportNonInstantiatedModule.ts ===
|
|
module A {
|
|
>A : Symbol(A, Decl(exportImportNonInstantiatedModule.ts, 0, 0))
|
|
|
|
export interface I { x: number }
|
|
>I : Symbol(I, Decl(exportImportNonInstantiatedModule.ts, 0, 10))
|
|
>x : Symbol(x, Decl(exportImportNonInstantiatedModule.ts, 1, 24))
|
|
}
|
|
|
|
module B {
|
|
>B : Symbol(B, Decl(exportImportNonInstantiatedModule.ts, 2, 1))
|
|
|
|
export import A1 = A
|
|
>A1 : Symbol(A1, Decl(exportImportNonInstantiatedModule.ts, 4, 10))
|
|
>A : Symbol(A1, Decl(exportImportNonInstantiatedModule.ts, 0, 0))
|
|
|
|
}
|
|
|
|
var x: B.A1.I = { x: 1 };
|
|
>x : Symbol(x, Decl(exportImportNonInstantiatedModule.ts, 9, 3))
|
|
>B : Symbol(B, Decl(exportImportNonInstantiatedModule.ts, 2, 1))
|
|
>A1 : Symbol(B.A1, Decl(exportImportNonInstantiatedModule.ts, 4, 10))
|
|
>I : Symbol(A.I, Decl(exportImportNonInstantiatedModule.ts, 0, 10))
|
|
>x : Symbol(x, Decl(exportImportNonInstantiatedModule.ts, 9, 17))
|
|
|