I ran into an issue while working on my TSX markup. The TS typechecker in Vim is giving me the error message
2540: Cannot assign to style because it is a read-only property
when I try to create a textarea
element. It's odd that textarea.style is read-only, especially since it should be writable...
https://i.sstatic.net/hgG4k.png
Any suggestions on how to resolve this error message? Would casting the input
variable to a different type help?