tests/cases/compiler/internalAliasVarInsideLocalModuleWithoutExportAccessError.ts(10,18): error TS2339: Property 'b' does not exist on type 'typeof c'.


==== 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;
                     ~
!!! error TS2339: Property 'b' does not exist on type 'typeof c'.