50 lines
2.2 KiB
Text
50 lines
2.2 KiB
Text
=== tests/cases/compiler/declareFileExportAssignment.ts ===
|
|
module m2 {
|
|
>m2 : Symbol(m2, Decl(declareFileExportAssignment.ts, 0, 0), Decl(declareFileExportAssignment.ts, 11, 3))
|
|
|
|
export interface connectModule {
|
|
>connectModule : Symbol(connectModule, Decl(declareFileExportAssignment.ts, 0, 11))
|
|
|
|
(res, req, next): void;
|
|
>res : Symbol(res, Decl(declareFileExportAssignment.ts, 2, 9))
|
|
>req : Symbol(req, Decl(declareFileExportAssignment.ts, 2, 13))
|
|
>next : Symbol(next, Decl(declareFileExportAssignment.ts, 2, 18))
|
|
}
|
|
export interface connectExport {
|
|
>connectExport : Symbol(connectExport, Decl(declareFileExportAssignment.ts, 3, 5))
|
|
|
|
use: (mod: connectModule) => connectExport;
|
|
>use : Symbol(use, Decl(declareFileExportAssignment.ts, 4, 36))
|
|
>mod : Symbol(mod, Decl(declareFileExportAssignment.ts, 5, 14))
|
|
>connectModule : Symbol(connectModule, Decl(declareFileExportAssignment.ts, 0, 11))
|
|
>connectExport : Symbol(connectExport, Decl(declareFileExportAssignment.ts, 3, 5))
|
|
|
|
listen: (port: number) => void;
|
|
>listen : Symbol(listen, Decl(declareFileExportAssignment.ts, 5, 51))
|
|
>port : Symbol(port, Decl(declareFileExportAssignment.ts, 6, 17))
|
|
}
|
|
|
|
}
|
|
|
|
var m2: {
|
|
>m2 : Symbol(m2, Decl(declareFileExportAssignment.ts, 0, 0), Decl(declareFileExportAssignment.ts, 11, 3))
|
|
|
|
(): m2.connectExport;
|
|
>m2 : Symbol(m2, Decl(declareFileExportAssignment.ts, 0, 0), Decl(declareFileExportAssignment.ts, 11, 3))
|
|
>connectExport : Symbol(m2.connectExport, Decl(declareFileExportAssignment.ts, 3, 5))
|
|
|
|
test1: m2.connectModule;
|
|
>test1 : Symbol(test1, Decl(declareFileExportAssignment.ts, 12, 25))
|
|
>m2 : Symbol(m2, Decl(declareFileExportAssignment.ts, 0, 0), Decl(declareFileExportAssignment.ts, 11, 3))
|
|
>connectModule : Symbol(m2.connectModule, Decl(declareFileExportAssignment.ts, 0, 11))
|
|
|
|
test2(): m2.connectModule;
|
|
>test2 : Symbol(test2, Decl(declareFileExportAssignment.ts, 13, 28))
|
|
>m2 : Symbol(m2, Decl(declareFileExportAssignment.ts, 0, 0), Decl(declareFileExportAssignment.ts, 11, 3))
|
|
>connectModule : Symbol(m2.connectModule, Decl(declareFileExportAssignment.ts, 0, 11))
|
|
|
|
};
|
|
|
|
export = m2;
|
|
>m2 : Symbol(m2, Decl(declareFileExportAssignment.ts, 0, 0), Decl(declareFileExportAssignment.ts, 11, 3))
|
|
|