63 lines
3.3 KiB
Text
63 lines
3.3 KiB
Text
=== tests/cases/compiler/declFileImportModuleWithExportAssignment_1.ts ===
|
|
/**This is on import declaration*/
|
|
import a1 = require("declFileImportModuleWithExportAssignment_0");
|
|
>a1 : Symbol(a1, Decl(declFileImportModuleWithExportAssignment_1.ts, 0, 0))
|
|
|
|
export var a = a1;
|
|
>a : Symbol(a, Decl(declFileImportModuleWithExportAssignment_1.ts, 2, 10))
|
|
>a1 : Symbol(a1, Decl(declFileImportModuleWithExportAssignment_1.ts, 0, 0))
|
|
|
|
a.test1(null, null, null);
|
|
>a.test1 : Symbol(test1, Decl(declFileImportModuleWithExportAssignment_0.ts, 12, 25))
|
|
>a : Symbol(a, Decl(declFileImportModuleWithExportAssignment_1.ts, 2, 10))
|
|
>test1 : Symbol(test1, Decl(declFileImportModuleWithExportAssignment_0.ts, 12, 25))
|
|
|
|
=== tests/cases/compiler/declFileImportModuleWithExportAssignment_0.ts ===
|
|
|
|
module m2 {
|
|
>m2 : Symbol(m2, Decl(declFileImportModuleWithExportAssignment_0.ts, 0, 0), Decl(declFileImportModuleWithExportAssignment_0.ts, 11, 3))
|
|
|
|
export interface connectModule {
|
|
>connectModule : Symbol(connectModule, Decl(declFileImportModuleWithExportAssignment_0.ts, 1, 11))
|
|
|
|
(res, req, next): void;
|
|
>res : Symbol(res, Decl(declFileImportModuleWithExportAssignment_0.ts, 3, 9))
|
|
>req : Symbol(req, Decl(declFileImportModuleWithExportAssignment_0.ts, 3, 13))
|
|
>next : Symbol(next, Decl(declFileImportModuleWithExportAssignment_0.ts, 3, 18))
|
|
}
|
|
export interface connectExport {
|
|
>connectExport : Symbol(connectExport, Decl(declFileImportModuleWithExportAssignment_0.ts, 4, 5))
|
|
|
|
use: (mod: connectModule) => connectExport;
|
|
>use : Symbol(use, Decl(declFileImportModuleWithExportAssignment_0.ts, 5, 36))
|
|
>mod : Symbol(mod, Decl(declFileImportModuleWithExportAssignment_0.ts, 6, 14))
|
|
>connectModule : Symbol(connectModule, Decl(declFileImportModuleWithExportAssignment_0.ts, 1, 11))
|
|
>connectExport : Symbol(connectExport, Decl(declFileImportModuleWithExportAssignment_0.ts, 4, 5))
|
|
|
|
listen: (port: number) => void;
|
|
>listen : Symbol(listen, Decl(declFileImportModuleWithExportAssignment_0.ts, 6, 51))
|
|
>port : Symbol(port, Decl(declFileImportModuleWithExportAssignment_0.ts, 7, 17))
|
|
}
|
|
|
|
}
|
|
var m2: {
|
|
>m2 : Symbol(m2, Decl(declFileImportModuleWithExportAssignment_0.ts, 0, 0), Decl(declFileImportModuleWithExportAssignment_0.ts, 11, 3))
|
|
|
|
(): m2.connectExport;
|
|
>m2 : Symbol(m2, Decl(declFileImportModuleWithExportAssignment_0.ts, 0, 0), Decl(declFileImportModuleWithExportAssignment_0.ts, 11, 3))
|
|
>connectExport : Symbol(m2.connectExport, Decl(declFileImportModuleWithExportAssignment_0.ts, 4, 5))
|
|
|
|
test1: m2.connectModule;
|
|
>test1 : Symbol(test1, Decl(declFileImportModuleWithExportAssignment_0.ts, 12, 25))
|
|
>m2 : Symbol(m2, Decl(declFileImportModuleWithExportAssignment_0.ts, 0, 0), Decl(declFileImportModuleWithExportAssignment_0.ts, 11, 3))
|
|
>connectModule : Symbol(m2.connectModule, Decl(declFileImportModuleWithExportAssignment_0.ts, 1, 11))
|
|
|
|
test2(): m2.connectModule;
|
|
>test2 : Symbol(test2, Decl(declFileImportModuleWithExportAssignment_0.ts, 13, 28))
|
|
>m2 : Symbol(m2, Decl(declFileImportModuleWithExportAssignment_0.ts, 0, 0), Decl(declFileImportModuleWithExportAssignment_0.ts, 11, 3))
|
|
>connectModule : Symbol(m2.connectModule, Decl(declFileImportModuleWithExportAssignment_0.ts, 1, 11))
|
|
|
|
};
|
|
export = m2;
|
|
>m2 : Symbol(m2, Decl(declFileImportModuleWithExportAssignment_0.ts, 0, 0), Decl(declFileImportModuleWithExportAssignment_0.ts, 11, 3))
|
|
|