Files
tsgo/testdata/tests/cases/compiler/legacyDecoratorClassWithoutModifiers.ts
d91b46e263 Fix crashes in decorators transform compiling VS Code (#2378)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: DanielRosenwasser <[email protected]>
2025-12-15 16:52:00 +00:00

10 lines
172 B
TypeScript

// @target: esnext
// @experimentalDecorators: true
// Test case for decorated class without modifiers
declare function classDec(target: any): any;
@classDec
class C {
}