2015-02-17 18:28:55 +01:00
|
|
|
=== tests/cases/compiler/server.ts ===
|
|
|
|
|
|
|
|
export class c {
|
2015-04-16 01:44:20 +02:00
|
|
|
>c : c
|
2015-02-17 18:28:55 +01:00
|
|
|
}
|
|
|
|
export interface i {
|
2015-04-16 01:44:20 +02:00
|
|
|
>i : i
|
2015-02-17 18:28:55 +01:00
|
|
|
}
|
|
|
|
export module m {
|
2015-04-16 01:44:20 +02:00
|
|
|
>m : typeof m
|
2015-02-17 18:28:55 +01:00
|
|
|
|
|
|
|
export var x = 10;
|
2015-04-16 01:44:20 +02:00
|
|
|
>x : number
|
2015-04-13 21:36:11 +02:00
|
|
|
>10 : number
|
2015-02-17 18:28:55 +01:00
|
|
|
}
|
|
|
|
export var x = 10;
|
2015-04-16 01:44:20 +02:00
|
|
|
>x : number
|
2015-04-13 21:36:11 +02:00
|
|
|
>10 : number
|
2015-02-17 18:28:55 +01:00
|
|
|
|
|
|
|
export module uninstantiated {
|
2015-04-16 01:44:20 +02:00
|
|
|
>uninstantiated : any
|
2015-02-17 18:28:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
=== tests/cases/compiler/client.ts ===
|
|
|
|
export { c } from "server";
|
2015-04-16 01:44:20 +02:00
|
|
|
>c : typeof c
|
2015-02-17 18:28:55 +01:00
|
|
|
|
|
|
|
export { c as c2 } from "server";
|
2015-04-16 01:44:20 +02:00
|
|
|
>c : typeof c
|
|
|
|
>c2 : typeof c
|
2015-02-17 18:28:55 +01:00
|
|
|
|
|
|
|
export { i, m as instantiatedModule } from "server";
|
2015-04-16 01:44:20 +02:00
|
|
|
>i : any
|
|
|
|
>m : typeof instantiatedModule
|
|
|
|
>instantiatedModule : typeof instantiatedModule
|
2015-02-17 18:28:55 +01:00
|
|
|
|
|
|
|
export { uninstantiated } from "server";
|
2015-04-16 01:44:20 +02:00
|
|
|
>uninstantiated : any
|
2015-02-17 18:28:55 +01:00
|
|
|
|
|
|
|
export { x } from "server";
|
2015-04-16 01:44:20 +02:00
|
|
|
>x : number
|
2015-02-17 18:28:55 +01:00
|
|
|
|