So the following code is in Angular 4 and I can\'t figure out why it doesn\'t work the way as expected.
Here is a snippet of my handler:
onUpdatingSe
Here's another fix that works for me:
(event.target as HTMLInputElement).value
That should get rid of the error by letting TS know that event.target is an HTMLInputElement, which inherently has a value. Before specifying, TS likely only knew that event alone was an HTMLInputElement, thus according to TS the keyed-in target was some randomly mapped value that could be anything.