9 lines
97 B
TypeScript
9 lines
97 B
TypeScript
|
class X {
|
||
|
constructor() {
|
||
|
return 1;
|
||
|
}
|
||
|
foo() { }
|
||
|
}
|
||
|
|
||
|
var x = new X();
|