27 lines
366 B
Text
27 lines
366 B
Text
=== tests/cases/compiler/exportImportNonInstantiatedModule.ts ===
|
|
module A {
|
|
>A : any
|
|
|
|
export interface I { x: number }
|
|
>I : I
|
|
>x : number
|
|
}
|
|
|
|
module B {
|
|
>B : typeof B
|
|
|
|
export import A1 = A
|
|
>A1 : any
|
|
>A : any
|
|
|
|
}
|
|
|
|
var x: B.A1.I = { x: 1 };
|
|
>x : A.I
|
|
>B : any
|
|
>A1 : any
|
|
>I : A.I
|
|
>{ x: 1 } : { x: number; }
|
|
>x : number
|
|
>1 : number
|
|
|