=== tests/cases/compiler/declFileImportModuleWithExportAssignment_1.ts ===
/**This is on import declaration*/
import a1 = require("declFileImportModuleWithExportAssignment_0");
>a1 : { (): a1.connectExport; test1: a1.connectModule; test2(): a1.connectModule; }

export var a = a1;
>a : { (): a1.connectExport; test1: a1.connectModule; test2(): a1.connectModule; }
>a1 : { (): a1.connectExport; test1: a1.connectModule; test2(): a1.connectModule; }

a.test1(null, null, null);
>a.test1(null, null, null) : void
>a.test1 : a1.connectModule
>a : { (): a1.connectExport; test1: a1.connectModule; test2(): a1.connectModule; }
>test1 : a1.connectModule

=== tests/cases/compiler/declFileImportModuleWithExportAssignment_0.ts ===

module m2 {
>m2 : { (): connectExport; test1: connectModule; test2(): connectModule; }

    export interface connectModule {
>connectModule : connectModule

        (res, req, next): void;
>res : any
>req : any
>next : any
    }
    export interface connectExport {
>connectExport : connectExport

        use: (mod: connectModule) => connectExport;
>use : (mod: connectModule) => connectExport
>mod : connectModule
>connectModule : connectModule
>connectExport : connectExport

        listen: (port: number) => void;
>listen : (port: number) => void
>port : number
    }

}
var m2: {
>m2 : { (): m2.connectExport; test1: m2.connectModule; test2(): m2.connectModule; }

    (): m2.connectExport;
>m2 : unknown
>connectExport : m2.connectExport

    test1: m2.connectModule;
>test1 : m2.connectModule
>m2 : unknown
>connectModule : m2.connectModule

    test2(): m2.connectModule;
>test2 : () => m2.connectModule
>m2 : unknown
>connectModule : m2.connectModule

};
export = m2;
>m2 : { (): m2.connectExport; test1: m2.connectModule; test2(): m2.connectModule; }

