16 lines
450 B
Plaintext
16 lines
450 B
Plaintext
|
==== 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'.
|