16 lines
450 B
Text
16 lines
450 B
Text
|
==== tests/cases/compiler/internalAliasInitializedModuleInsideLocalModuleWithoutExportAccessError.ts (1 errors) ====
|
||
|
export module a {
|
||
|
export module b {
|
||
|
export class c {
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export module c {
|
||
|
import b = a.b;
|
||
|
export var x: b.c = new b.c();
|
||
|
}
|
||
|
|
||
|
export var d = new c.b.c();
|
||
|
~
|
||
|
!!! Property 'b' does not exist on type 'typeof c'.
|