43 lines
715 B
Plaintext
43 lines
715 B
Plaintext
=== tests/cases/compiler/server.ts ===
|
|
|
|
export class c {
|
|
>c : c
|
|
}
|
|
export interface i {
|
|
>i : i
|
|
}
|
|
export module m {
|
|
>m : typeof m
|
|
|
|
export var x = 10;
|
|
>x : number
|
|
>10 : number
|
|
}
|
|
export var x = 10;
|
|
>x : number
|
|
>10 : number
|
|
|
|
export module uninstantiated {
|
|
>uninstantiated : any
|
|
}
|
|
|
|
=== tests/cases/compiler/client.ts ===
|
|
export { c } from "server";
|
|
>c : typeof c
|
|
|
|
export { c as c2 } from "server";
|
|
>c : typeof c
|
|
>c2 : typeof c
|
|
|
|
export { i, m as instantiatedModule } from "server";
|
|
>i : any
|
|
>m : typeof instantiatedModule
|
|
>instantiatedModule : typeof instantiatedModule
|
|
|
|
export { uninstantiated } from "server";
|
|
>uninstantiated : any
|
|
|
|
export { x } from "server";
|
|
>x : number
|
|
|