Files
tsgo/testdata/baselines/reference/submodule/compiler/constInClassExpression.errors.txt

10 lines
287 B
Plaintext

constInClassExpression.ts(2,11): error TS1248: A class member cannot have the 'const' keyword.
==== constInClassExpression.ts (1 errors) ====
let C = class {
const a = 4;
~
!!! error TS1248: A class member cannot have the 'const' keyword.
};