iari
05/10/2020, 9:35 PMonChangeFunction
the event.target is of type EventTarget?
which has no value field.iari
05/10/2020, 9:38 PMval input = it.target as HTMLInputElement
turansky
05/10/2020, 10:36 PMunsafeCast
to avoid redundant checks (like in your case)