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