32 lines
1.2 KiB
Text
32 lines
1.2 KiB
Text
=== tests/cases/compiler/exportAssignValueAndType.ts ===
|
|
declare module http {
|
|
>http : Symbol(http, Decl(exportAssignValueAndType.ts, 0, 0))
|
|
|
|
export interface Server { openPort: number; }
|
|
>Server : Symbol(Server, Decl(exportAssignValueAndType.ts, 0, 21))
|
|
>openPort : Symbol(openPort, Decl(exportAssignValueAndType.ts, 1, 26))
|
|
}
|
|
|
|
interface server {
|
|
>server : Symbol(server, Decl(exportAssignValueAndType.ts, 2, 1), Decl(exportAssignValueAndType.ts, 10, 3))
|
|
|
|
(): http.Server;
|
|
>http : Symbol(http, Decl(exportAssignValueAndType.ts, 0, 0))
|
|
>Server : Symbol(http.Server, Decl(exportAssignValueAndType.ts, 0, 21))
|
|
|
|
startTime: Date;
|
|
>startTime : Symbol(startTime, Decl(exportAssignValueAndType.ts, 5, 20))
|
|
>Date : Symbol(Date, Decl(lib.d.ts, 633, 23), Decl(lib.d.ts, 815, 11))
|
|
}
|
|
|
|
var x = 5;
|
|
>x : Symbol(x, Decl(exportAssignValueAndType.ts, 9, 3))
|
|
|
|
var server = new Date();
|
|
>server : Symbol(server, Decl(exportAssignValueAndType.ts, 2, 1), Decl(exportAssignValueAndType.ts, 10, 3))
|
|
>Date : Symbol(Date, Decl(lib.d.ts, 633, 23), Decl(lib.d.ts, 815, 11))
|
|
|
|
export = server;
|
|
>server : Symbol(server, Decl(exportAssignValueAndType.ts, 2, 1), Decl(exportAssignValueAndType.ts, 10, 3))
|
|
|
|
|