mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
313 B
Plaintext
11 lines
313 B
Plaintext
concatClassAndString.ts(4,1): error TS2629: Cannot assign to 'f' because it is a class.
|
|
|
|
|
|
==== concatClassAndString.ts (1 errors) ====
|
|
// Shouldn't compile (the long form f = f + ""; doesn't):
|
|
class f { }
|
|
|
|
f += '';
|
|
~
|
|
!!! error TS2629: Cannot assign to 'f' because it is a class.
|
|
|