TypeScript/tests/baselines/reference/classExpressionWithStaticProperties1.js
2015-04-02 17:50:11 -07:00

12 lines
248 B
TypeScript

//// [classExpressionWithStaticProperties1.ts]
var v = class C { static a = 1; static b = 2 };
//// [classExpressionWithStaticProperties1.js]
var v = (function () {
function C() {
}
C.a = 1;
C.b = 2;
return C;
})();