While rewriting my VueJs project in typescript, I came across a TypeScript error.
This is a part of the component that has a custom v-model.
An input field i
I found a way to make it work but it is ugly in my opinion.
Feel free to give other/better suggestions.
update() { this.$emit('input', { plate: (this.$refs.plate).value, }); }