25 lines
383 B
Plaintext
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
|
|
|