Files
tsgo/testdata/tests/cases/compiler/anonymousClassDecoratorEs2022.ts
1850f57886 Fix panic on anonymous class declaration with decorator targeting ES2022 (#3926)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: jakebailey <[email protected]>
2026-05-18 16:46:12 +00:00

9 lines
59 B
TypeScript

// @target: es2022
class {
@x
m() {
// ...
}
};