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