TypeScript/tests/baselines/reference/qualifiedName_ImportDeclarations-entity-names-referencing-a-var.types
2014-08-28 12:40:58 -07:00

25 lines
383 B
Plaintext

=== tests/cases/compiler/qualifiedName_ImportDeclarations-entity-names-referencing-a-var.ts ===
module Alpha {
>Alpha : typeof Alpha
export var x = 100;
>x : number
}
module Beta {
>Beta : unknown
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