23 lines
288 B
Plaintext
23 lines
288 B
Plaintext
=== tests/cases/compiler/internalAliasVar.ts ===
|
|
module a {
|
|
>a : typeof a
|
|
|
|
export var x = 10;
|
|
>x : number
|
|
>10 : number
|
|
}
|
|
|
|
module c {
|
|
>c : typeof c
|
|
|
|
import b = a.x;
|
|
>b : number
|
|
>a : typeof a
|
|
>x : number
|
|
|
|
export var bVal = b;
|
|
>bVal : number
|
|
>b : number
|
|
}
|
|
|