2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/exportImportNonInstantiatedModule.ts ===
|
|
|
|
module A {
|
2015-04-13 23:01:57 +02:00
|
|
|
>A : any, Symbol(A, Decl(exportImportNonInstantiatedModule.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export interface I { x: number }
|
2015-04-13 23:01:57 +02:00
|
|
|
>I : I, Symbol(I, Decl(exportImportNonInstantiatedModule.ts, 0, 10))
|
|
|
|
>x : number, Symbol(x, Decl(exportImportNonInstantiatedModule.ts, 1, 24))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
module B {
|
2015-04-13 23:01:57 +02:00
|
|
|
>B : typeof B, Symbol(B, Decl(exportImportNonInstantiatedModule.ts, 2, 1))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export import A1 = A
|
2015-04-13 23:01:57 +02:00
|
|
|
>A1 : any, Symbol(A1, Decl(exportImportNonInstantiatedModule.ts, 4, 10))
|
|
|
|
>A : any, Symbol(A1, Decl(exportImportNonInstantiatedModule.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
var x: B.A1.I = { x: 1 };
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : A.I, Symbol(x, Decl(exportImportNonInstantiatedModule.ts, 9, 3))
|
|
|
|
>B : any, Symbol(B, Decl(exportImportNonInstantiatedModule.ts, 2, 1))
|
|
|
|
>A1 : any, Symbol(B.A1, Decl(exportImportNonInstantiatedModule.ts, 4, 10))
|
|
|
|
>I : A.I, Symbol(A.I, Decl(exportImportNonInstantiatedModule.ts, 0, 10))
|
2014-08-15 23:33:16 +02:00
|
|
|
>{ x: 1 } : { x: number; }
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : number, Symbol(x, Decl(exportImportNonInstantiatedModule.ts, 9, 17))
|
2015-04-13 21:36:11 +02:00
|
|
|
>1 : number
|
2014-08-15 23:33:16 +02:00
|
|
|
|