19 lines
635 B
Plaintext
19 lines
635 B
Plaintext
tests/cases/compiler/internalAliasInitializedModuleInsideLocalModuleWithoutExportAccessError.ts(13,22): error TS2339: Property 'b' does not exist on type 'typeof c'.
|
|
|
|
|
|
==== 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();
|
|
~
|
|
!!! error TS2339: Property 'b' does not exist on type 'typeof c'. |