vscode 1.42.1, vetur 0.24.0, ubuntu 19.10


But the application works as intended
It is intensional behavior and not related to Vetur as the $refs type is just defined like that. As $refs items can be anythings (HTMLElement, Vue component...), you need to manually cast it.
const contact = this.$refs.contact as any
contact.$refs.emailField.focus()
Most helpful comment
It is intensional behavior and not related to Vetur as the
$refstype is just defined like that. As$refsitems can be anythings (HTMLElement, Vue component...), you need to manually cast it.