Published
- 1 min read
Property `value` does not exist on type `EventTarget & Element`.
The solution for this is noted below
Property value
does not exist on type EventTarget & Element
.
Solution
;(e.target as HTMLButtonElement).value
Try other methods by searching on the site. That is if this doesn’t work