mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 19:52:21 +03:00
11 lines
303 B
TypeScript
11 lines
303 B
TypeScript
// @target: esnext
|
|
// @noTypesAndSymbols: true
|
|
// @noEmit: true
|
|
// @useDefineForClassFields: true
|
|
|
|
// https://github.com/microsoft/TypeScript/issues/36295
|
|
class C {}
|
|
((b = class extends C { static x = 1 }) => { var C; })();
|
|
|
|
const x = "";
|
|
((b = class extends C { static x = 1 }, d = x) => { var x; })(); |