Files
tsgo/testdata/baselines/reference/submodule/compiler/classExpressionWithStaticProperties2(target=es2015).js

24 lines
452 B
TypeScript

//// [tests/cases/compiler/classExpressionWithStaticProperties2.ts] ////
//// [classExpressionWithStaticProperties2.ts]
var v = class C {
static a = 1;
static b
static c = {
x: "hi"
}
static d = C.c.x + " world";
};
//// [classExpressionWithStaticProperties2.js]
"use strict";
var _a;
var v = (_a = class C {
},
_a.a = 1,
_a.c = {
x: "hi"
},
_a.d = _a.c.x + " world",
_a);