Files
tsgo/testdata/baselines/reference/submodule/compiler/classExpressionWithStaticProperties1.js

19 lines
380 B
TypeScript

//// [tests/cases/compiler/classExpressionWithStaticProperties1.ts] ////
//// [classExpressionWithStaticProperties1.ts]
var v = class C {
static a = 1;
static b = 2;
static c = C.a + C.b;
};
//// [classExpressionWithStaticProperties1.js]
"use strict";
var _a;
var v = (_a = class C {
},
_a.a = 1,
_a.b = 2,
_a.c = _a.a + _a.b,
_a);