TypeScript/tests/baselines/reference/qualifiedName_ImportDeclarations-entity-names-referencing-a-var.types

25 lines
383 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/qualifiedName_ImportDeclarations-entity-names-referencing-a-var.ts ===
module Alpha {
2014-08-28 21:40:58 +02:00
>Alpha : typeof Alpha
2014-08-15 23:33:16 +02:00
export var x = 100;
>x : number
}
module Beta {
2014-08-28 21:40:58 +02:00
>Beta : unknown
2014-08-15 23:33:16 +02:00
import p = Alpha.x;
2014-08-28 21:40:58 +02:00
>p : number
>Alpha : typeof Alpha
2014-08-15 23:33:16 +02:00
>x : number
}
var x = Alpha.x
>x : number
>Alpha.x : number
>Alpha : typeof Alpha
>x : number