2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/declaredExternalModuleWithExportAssignment.ts ===
|
|
|
|
declare module 'connect' {
|
|
|
|
interface connectModule {
|
2015-04-13 23:01:57 +02:00
|
|
|
>connectModule : connectModule, Symbol(connectModule, Decl(declaredExternalModuleWithExportAssignment.ts, 0, 26))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
(res, req, next): void;
|
2015-04-13 23:01:57 +02:00
|
|
|
>res : any, Symbol(res, Decl(declaredExternalModuleWithExportAssignment.ts, 2, 9))
|
|
|
|
>req : any, Symbol(req, Decl(declaredExternalModuleWithExportAssignment.ts, 2, 13))
|
|
|
|
>next : any, Symbol(next, Decl(declaredExternalModuleWithExportAssignment.ts, 2, 18))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
interface connectExport {
|
2015-04-13 23:01:57 +02:00
|
|
|
>connectExport : connectExport, Symbol(connectExport, Decl(declaredExternalModuleWithExportAssignment.ts, 3, 5))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
use: (mod: connectModule) => connectExport;
|
2015-04-13 23:01:57 +02:00
|
|
|
>use : (mod: connectModule) => connectExport, Symbol(use, Decl(declaredExternalModuleWithExportAssignment.ts, 5, 29))
|
|
|
|
>mod : connectModule, Symbol(mod, Decl(declaredExternalModuleWithExportAssignment.ts, 6, 14))
|
|
|
|
>connectModule : connectModule, Symbol(connectModule, Decl(declaredExternalModuleWithExportAssignment.ts, 0, 26))
|
|
|
|
>connectExport : connectExport, Symbol(connectExport, Decl(declaredExternalModuleWithExportAssignment.ts, 3, 5))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
listen: (port: number) => void;
|
2015-04-13 23:01:57 +02:00
|
|
|
>listen : (port: number) => void, Symbol(listen, Decl(declaredExternalModuleWithExportAssignment.ts, 6, 51))
|
|
|
|
>port : number, Symbol(port, Decl(declaredExternalModuleWithExportAssignment.ts, 7, 17))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
var server: {
|
2015-04-13 23:01:57 +02:00
|
|
|
>server : { (): connectExport; test1: connectModule; test2(): connectModule; }, Symbol(server, Decl(declaredExternalModuleWithExportAssignment.ts, 10, 7))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
(): connectExport;
|
2015-04-13 23:01:57 +02:00
|
|
|
>connectExport : connectExport, Symbol(connectExport, Decl(declaredExternalModuleWithExportAssignment.ts, 3, 5))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
test1: connectModule;
|
2015-04-13 23:01:57 +02:00
|
|
|
>test1 : connectModule, Symbol(test1, Decl(declaredExternalModuleWithExportAssignment.ts, 11, 26))
|
|
|
|
>connectModule : connectModule, Symbol(connectModule, Decl(declaredExternalModuleWithExportAssignment.ts, 0, 26))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
test2(): connectModule;
|
2015-04-13 23:01:57 +02:00
|
|
|
>test2 : () => connectModule, Symbol(test2, Decl(declaredExternalModuleWithExportAssignment.ts, 12, 29))
|
|
|
|
>connectModule : connectModule, Symbol(connectModule, Decl(declaredExternalModuleWithExportAssignment.ts, 0, 26))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
};
|
|
|
|
export = server;
|
2015-04-13 23:01:57 +02:00
|
|
|
>server : { (): connectExport; test1: connectModule; test2(): connectModule; }, Symbol(server, Decl(declaredExternalModuleWithExportAssignment.ts, 10, 7))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|