3 lines
70 B
TypeScript
3 lines
70 B
TypeScript
|
class C {}
|
||
|
var x = new C(); // should be ok
|
||
|
new x(); // should error
|