tests/cases/compiler/multipleExports.ts(10,5): error TS1194: Export declarations are not permitted in an internal module.
tests/cases/compiler/multipleExports.ts(10,13): error TS2484: Export declaration conflicts with exported declaration of 'x'


==== tests/cases/compiler/multipleExports.ts (2 errors) ====
    
    export module M {
        export var v = 0;
        export let x;
    }
    
    const x = 0;
    export module M {
        v;
        export {x};
        ~~~~~~~~~~~
!!! error TS1194: Export declarations are not permitted in an internal module.
                ~
!!! error TS2484: Export declaration conflicts with exported declaration of 'x'
    }
    