mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
10 lines
287 B
Plaintext
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.
|
|
};
|
|
|