TypeScript/tests/baselines/reference/internalAliasVarInsideLocalModuleWithoutExportAccessError.errors.txt

13 lines
359 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/internalAliasVarInsideLocalModuleWithoutExportAccessError.ts (1 errors) ====
export module a {
export var x = 10;
}
export module c {
import b = a.x;
export var bVal = b;
}
export var z = c.b;
~
!!! Property 'b' does not exist on type 'typeof c'.