Files
tsgo/testdata/tests/cases/compiler/errorInUnnamedClassExpression.ts
2025-12-28 18:39:16 +00:00

12 lines
177 B
TypeScript

// @strict: true
// @noEmit: true
// https://github.com/microsoft/TypeScript/issues/62920
let Foo = class {
constructor() {
this.bar++;
}
abstract bar;
};