2015-03-12 19:51:32 +01:00
|
|
|
=== tests/cases/compiler/server.ts ===
|
|
|
|
|
|
|
|
export class c {
|
2015-04-13 23:01:57 +02:00
|
|
|
>c : c, Symbol(c, Decl(server.ts, 0, 0))
|
2015-03-12 19:51:32 +01:00
|
|
|
}
|
|
|
|
export interface i {
|
2015-04-13 23:01:57 +02:00
|
|
|
>i : i, Symbol(i, Decl(server.ts, 2, 1))
|
2015-03-12 19:51:32 +01:00
|
|
|
}
|
|
|
|
export module m {
|
2015-04-13 23:01:57 +02:00
|
|
|
>m : typeof m, Symbol(m, Decl(server.ts, 4, 1))
|
2015-03-12 19:51:32 +01:00
|
|
|
|
|
|
|
export var x = 10;
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : number, Symbol(x, Decl(server.ts, 6, 14))
|
2015-04-13 21:36:11 +02:00
|
|
|
>10 : number
|
2015-03-12 19:51:32 +01:00
|
|
|
}
|
|
|
|
export var x = 10;
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : number, Symbol(x, Decl(server.ts, 8, 10))
|
2015-04-13 21:36:11 +02:00
|
|
|
>10 : number
|
2015-03-12 19:51:32 +01:00
|
|
|
|
|
|
|
export module uninstantiated {
|
2015-04-13 23:01:57 +02:00
|
|
|
>uninstantiated : any, Symbol(uninstantiated, Decl(server.ts, 8, 18))
|
2015-03-12 19:51:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
=== tests/cases/compiler/client.ts ===
|
|
|
|
export { c } from "server";
|
2015-04-13 23:01:57 +02:00
|
|
|
>c : typeof c, Symbol(c, Decl(client.ts, 0, 8))
|
2015-03-12 19:51:32 +01:00
|
|
|
|
|
|
|
export { c as c2 } from "server";
|
2015-04-13 23:01:57 +02:00
|
|
|
>c : typeof c, Symbol(c2, Decl(client.ts, 1, 8))
|
|
|
|
>c2 : typeof c, Symbol(c2, Decl(client.ts, 1, 8))
|
2015-03-12 19:51:32 +01:00
|
|
|
|
|
|
|
export { i, m as instantiatedModule } from "server";
|
2015-04-13 23:01:57 +02:00
|
|
|
>i : any, Symbol(i, Decl(client.ts, 2, 8))
|
|
|
|
>m : typeof instantiatedModule, Symbol(instantiatedModule, Decl(client.ts, 2, 11))
|
|
|
|
>instantiatedModule : typeof instantiatedModule, Symbol(instantiatedModule, Decl(client.ts, 2, 11))
|
2015-03-12 19:51:32 +01:00
|
|
|
|
|
|
|
export { uninstantiated } from "server";
|
2015-04-13 23:01:57 +02:00
|
|
|
>uninstantiated : any, Symbol(uninstantiated, Decl(client.ts, 3, 8))
|
2015-03-12 19:51:32 +01:00
|
|
|
|
|
|
|
export { x } from "server";
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : number, Symbol(x, Decl(client.ts, 4, 8))
|
2015-03-12 19:51:32 +01:00
|
|
|
|