mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 11:13:43 +03:00
24 lines
263 B
TypeScript
24 lines
263 B
TypeScript
// @target: esnext, es2022
|
|
// @declaration: true
|
|
// @declarationMap: true
|
|
// @sourceMap: true
|
|
|
|
const a = 1;
|
|
const b = 2;
|
|
|
|
class C {
|
|
static {
|
|
const a = 11;
|
|
|
|
a;
|
|
b;
|
|
}
|
|
|
|
static {
|
|
const a = 11;
|
|
|
|
a;
|
|
b;
|
|
}
|
|
}
|