I was searching for this, but didn't care about preserving the old value and this worked well enough for me (resetting the value to empty string):
const showList: EventHandler = (ev) => {
const input = ev.target as HTMLInputElement;
input.value = '';
};