TypeScript/tests/baselines/reference/qualifiedName_ImportDeclarations-entity-names-referencing-a-var.types
2015-04-15 16:44:20 -07:00

26 lines
394 B
Plaintext

=== tests/cases/compiler/qualifiedName_ImportDeclarations-entity-names-referencing-a-var.ts ===
module Alpha {
>Alpha : typeof Alpha
export var x = 100;
>x : number
>100 : number
}
module Beta {
>Beta : any
import p = Alpha.x;
>p : number
>Alpha : typeof Alpha
>x : number
}
var x = Alpha.x
>x : number
>Alpha.x : number
>Alpha : typeof Alpha
>x : number