I am creating a textarea
element in my TSX markup, and the TS typechecker in Vim complains 2540: Cannot assign to style because it is a read-only property
. Having textarea.style be read-only is a bit weird, given that it can be written to ...
How can I make the error message disappear? Should I cast the
input
variable in my code to something else?