fix(forms): precise type assertion for onInput event handler (#293)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
Selemondev
2023-06-15 13:14:32 +03:00
committed by Benjamin Canac
parent 4023fbec29
commit 457b7a9fb7
3 changed files with 3 additions and 3 deletions

View File

@@ -156,7 +156,7 @@ export default defineComponent({
}
const onInput = (event: InputEvent) => {
emit('update:modelValue', (event.target as any).value)
emit('update:modelValue', (event.target as HTMLInputElement).value)
}
onMounted(() => {