readonly.ts(9,8): error TS2540: Cannot assign to 'name' because it is a read-only property.
```
Ошибка компиляции (ожидаемая)