58 lines
1.2 KiB
Text
58 lines
1.2 KiB
Text
=== tests/cases/compiler/declFileExportAssignmentImportInternalModule.ts ===
|
|
module m3 {
|
|
>m3 : typeof m3
|
|
|
|
export module m2 {
|
|
>m2 : any
|
|
|
|
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
|
|
}
|
|
|
|
}
|
|
|
|
export var server: {
|
|
>server : { (): m2.connectExport; test1: m2.connectModule; test2(): m2.connectModule; }
|
|
|
|
(): m2.connectExport;
|
|
>m2 : any
|
|
>connectExport : m2.connectExport
|
|
|
|
test1: m2.connectModule;
|
|
>test1 : m2.connectModule
|
|
>m2 : any
|
|
>connectModule : m2.connectModule
|
|
|
|
test2(): m2.connectModule;
|
|
>test2 : () => m2.connectModule
|
|
>m2 : any
|
|
>connectModule : m2.connectModule
|
|
|
|
};
|
|
}
|
|
|
|
import m = m3
|
|
>m : typeof m3
|
|
>m3 : typeof m3
|
|
|
|
export = m;
|
|
>m : typeof m3
|
|
|