### What problem does this feature solve? Consider the following code ```vue <script setup> const UPDATE_KEY = "foo" defineEmits([UPDATE_KEY]) </script> ``` `UPDATE_KEY` will never be changed and uses no lifecycle hooks. It can be hoisted, then `defineProps` and `defineEmits` can reference this variable. ### What does the proposed API look like? No API involved <!-- generated by vue-issues. DO NOT REMOVE -->