10 lines
176 B
TypeScript
10 lines
176 B
TypeScript
//// [class2.ts]
|
|
class foo { constructor() { static f = 3; } }
|
|
|
|
//// [class2.js]
|
|
var foo = (function () {
|
|
function foo() {
|
|
}
|
|
return foo;
|
|
}());
|
|
foo.f = 3;
|