I'm using Vue and have the following (though it should not matter for my question)
<input :id="computedId" type="file" @change="a($event)" />
const a = (b: Event) => {
modelValue.value = b.target?.files
}
However, this throws Property 'files' does not exist on type 'EventTarget'.. I assume the Event is the wrong type for this. What is the real event?