mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +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;
|
|
}
|
|
}
|