Print correct error method when check useOptions args in setup scope
Version
3.2.30
Reproduction link
Steps to reproduce
const changeValidator = () => true
const emits = defineEmits({ 'change': changeValidator })
What is expected?
Error: [@vue/compiler-sfc] defineEmits()
in