Subscribe on changes!

Print correct error method when check useOptions args in setup scope

avatar
Feb 11th 2022

Version

3.2.30

Reproduction link

sfc.vuejs.org/

Steps to reproduce

const changeValidator = () => true

const emits = defineEmits({ 'change': changeValidator })

What is expected?

Error: [@vue/compiler-sfc] defineEmits() in