It is now okay to assign to ref.current , see example: ... Cannot assign to 'current' because it is a constant or a read-only property. ... [x] I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript; [x] I have a question ...
DOWNLOAD: https://byltly.com/2f9mxi
DOWNLOAD: https://byltly.com/2f9mxi
typescript-cannot-assign-to-read-only-property
Sep 24, 2019 — Typescript provides a way to indicate props in an object / type, or an ... error TS2540: Cannot assign to 'name' because it is a read-only property ... 939c2ea5af
Comments