Files
tsgo/testdata/baselines/reference/submodule/conformance/classStaticBlock25(target=esnext).js

47 lines
707 B
TypeScript

//// [tests/cases/conformance/classes/classStaticBlock/classStaticBlock25.ts] ////
//// [classStaticBlock25.ts]
const a = 1;
const b = 2;
class C {
static {
const a = 11;
a;
b;
}
static {
const a = 11;
a;
b;
}
}
//// [classStaticBlock25.js]
"use strict";
const a = 1;
const b = 2;
class C {
static {
const a = 11;
a;
b;
}
static {
const a = 11;
a;
b;
}
}
//# sourceMappingURL=classStaticBlock25.js.map
//// [classStaticBlock25.d.ts]
declare const a = 1;
declare const b = 2;
declare class C {
}
//# sourceMappingURL=classStaticBlock25.d.ts.map