25 lines
374 B
Text
25 lines
374 B
Text
|
=== 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 : Beta
|
||
|
|
||
|
import p = Alpha.x;
|
||
|
>p : number
|
||
|
>Alpha : number
|
||
|
>x : number
|
||
|
}
|
||
|
|
||
|
|
||
|
var x = Alpha.x
|
||
|
>x : number
|
||
|
>Alpha.x : number
|
||
|
>Alpha : typeof Alpha
|
||
|
>x : number
|
||
|
|