19 lines
570 B
Plaintext
19 lines
570 B
Plaintext
|
==== tests/cases/compiler/internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError.ts (1 errors) ====
|
||
|
export module a {
|
||
|
export module b {
|
||
|
export interface I {
|
||
|
foo();
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export module c {
|
||
|
import b = a.b;
|
||
|
export var x: b.I;
|
||
|
x.foo();
|
||
|
}
|
||
|
|
||
|
|
||
|
export var z: c.b.I;
|
||
|
~~~~~
|
||
|
!!! Module '"tests/cases/compiler/internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError".c' has no exported member 'b'.
|