21 lines
740 B
Plaintext
21 lines
740 B
Plaintext
=== tests/cases/compiler/server.ts ===
|
|
|
|
class c { }
|
|
>c : c, Symbol(c, Decl(server.ts, 0, 0))
|
|
|
|
export default c;
|
|
>c : c, Symbol(c, Decl(server.ts, 0, 0))
|
|
|
|
=== tests/cases/compiler/client.ts ===
|
|
import defaultBinding from "server";
|
|
>defaultBinding : typeof defaultBinding, Symbol(defaultBinding, Decl(client.ts, 0, 6))
|
|
|
|
export var x = new defaultBinding();
|
|
>x : defaultBinding, Symbol(x, Decl(client.ts, 1, 10))
|
|
>new defaultBinding() : defaultBinding
|
|
>defaultBinding : typeof defaultBinding, Symbol(defaultBinding, Decl(client.ts, 0, 6))
|
|
|
|
import defaultBinding2 from "server"; // elide this import since defaultBinding2 is not used
|
|
>defaultBinding2 : typeof defaultBinding, Symbol(defaultBinding2, Decl(client.ts, 2, 6))
|
|
|