2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/exportImportNonInstantiatedModule.ts ===
|
|
|
|
module A {
|
2014-08-28 21:40:58 +02:00
|
|
|
>A : unknown
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export interface I { x: number }
|
|
|
|
>I : I
|
|
|
|
>x : number
|
|
|
|
}
|
|
|
|
|
|
|
|
module B {
|
2014-08-28 21:40:58 +02:00
|
|
|
>B : typeof B
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export import A1 = A
|
2014-08-28 21:40:58 +02:00
|
|
|
>A1 : unknown
|
|
|
|
>A : unknown
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
var x: B.A1.I = { x: 1 };
|
2014-08-25 19:36:12 +02:00
|
|
|
>x : A.I
|
2014-08-28 21:40:58 +02:00
|
|
|
>B : unknown
|
|
|
|
>A1 : unknown
|
2014-08-25 19:36:12 +02:00
|
|
|
>I : A.I
|
2014-08-15 23:33:16 +02:00
|
|
|
>{ x: 1 } : { x: number; }
|
|
|
|
>x : number
|
|
|
|
|