mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
10 lines
247 B
Plaintext
10 lines
247 B
Plaintext
file2.ts(1,1): error TS2588: Cannot assign to 'x' because it is a constant.
|
|
|
|
|
|
==== file1.ts (0 errors) ====
|
|
const x = 0
|
|
|
|
==== file2.ts (1 errors) ====
|
|
x++;
|
|
~
|
|
!!! error TS2588: Cannot assign to 'x' because it is a constant. |