What Typescript types should be used for input events in Vue to avoid missing target value, key, or files properties when using Event
?
For example:
<input @input="(e: MISSING_TYPE) => {}" />
<input @keypress="(e: MISSING_TYPE) => {}" />
In React, we have a generic type called ChangeEvent that applies element-specific types. How can we achieve similar functionality in Vue?