18 lines
425 B
Text
18 lines
425 B
Text
=== tests/cases/compiler/server.ts ===
|
|
|
|
class a { }
|
|
>a : a
|
|
|
|
export default a;
|
|
>a : a
|
|
|
|
=== tests/cases/compiler/client.ts ===
|
|
import defaultBinding, * as nameSpaceBinding from "server";
|
|
>defaultBinding : typeof defaultBinding
|
|
>nameSpaceBinding : typeof nameSpaceBinding
|
|
|
|
export var x = new defaultBinding();
|
|
>x : defaultBinding
|
|
>new defaultBinding() : defaultBinding
|
|
>defaultBinding : typeof defaultBinding
|
|
|