31 lines
1.4 KiB
Text
31 lines
1.4 KiB
Text
=== tests/cases/compiler/exportEqualNamespaces.ts ===
|
|
declare module server {
|
|
>server : Symbol(server, Decl(exportEqualNamespaces.ts, 0, 0), Decl(exportEqualNamespaces.ts, 2, 1), Decl(exportEqualNamespaces.ts, 10, 3))
|
|
|
|
interface Server extends Object { }
|
|
>Server : Symbol(Server, Decl(exportEqualNamespaces.ts, 0, 23))
|
|
>Object : Symbol(Object, Decl(lib.d.ts, 92, 1), Decl(lib.d.ts, 223, 11))
|
|
}
|
|
|
|
interface server {
|
|
>server : Symbol(server, Decl(exportEqualNamespaces.ts, 0, 0), Decl(exportEqualNamespaces.ts, 2, 1), Decl(exportEqualNamespaces.ts, 10, 3))
|
|
|
|
(): server.Server;
|
|
>server : Symbol(server, Decl(exportEqualNamespaces.ts, 0, 0), Decl(exportEqualNamespaces.ts, 2, 1), Decl(exportEqualNamespaces.ts, 10, 3))
|
|
>Server : Symbol(server.Server, Decl(exportEqualNamespaces.ts, 0, 23))
|
|
|
|
startTime: Date;
|
|
>startTime : Symbol(startTime, Decl(exportEqualNamespaces.ts, 5, 22))
|
|
>Date : Symbol(Date, Decl(lib.d.ts, 633, 23), Decl(lib.d.ts, 815, 11))
|
|
}
|
|
|
|
var x = 5;
|
|
>x : Symbol(x, Decl(exportEqualNamespaces.ts, 9, 3))
|
|
|
|
var server = new Date();
|
|
>server : Symbol(server, Decl(exportEqualNamespaces.ts, 0, 0), Decl(exportEqualNamespaces.ts, 2, 1), Decl(exportEqualNamespaces.ts, 10, 3))
|
|
>Date : Symbol(Date, Decl(lib.d.ts, 633, 23), Decl(lib.d.ts, 815, 11))
|
|
|
|
export = server;
|
|
>server : Symbol(server, Decl(exportEqualNamespaces.ts, 0, 0), Decl(exportEqualNamespaces.ts, 2, 1), Decl(exportEqualNamespaces.ts, 10, 3))
|
|
|