19 lines
395 B
Text
19 lines
395 B
Text
|
==== tests/cases/compiler/nonExportedElementsOfMergedModules.ts (1 errors) ====
|
||
|
module One {
|
||
|
enum A { X }
|
||
|
module B {
|
||
|
export var x;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module One {
|
||
|
enum A { Y }
|
||
|
module B {
|
||
|
export var y;
|
||
|
}
|
||
|
B.x;
|
||
|
~
|
||
|
!!! Property 'x' does not exist on type 'typeof B'.
|
||
|
B.y;
|
||
|
}
|
||
|
|