13 lines
359 B
Text
13 lines
359 B
Text
|
==== tests/cases/compiler/internalAliasVarInsideLocalModuleWithoutExportAccessError.ts (1 errors) ====
|
||
|
export module a {
|
||
|
export var x = 10;
|
||
|
}
|
||
|
|
||
|
export module c {
|
||
|
import b = a.x;
|
||
|
export var bVal = b;
|
||
|
}
|
||
|
|
||
|
export var z = c.b;
|
||
|
~
|
||
|
!!! Property 'b' does not exist on type 'typeof c'.
|