TypeScript/tests/baselines/reference/exportImportNonInstantiatedModule.types
2016-09-01 14:25:44 -07:00

28 lines
361 B
Plaintext

=== 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 : 1