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