Closed makedopamine closed 1 month ago
2.1.6
1.93.1
3.5.7
5.6.2
No response
"dependencies": { "typescript": "^5.6.2", "vue": "^3.5.7" }
<script setup lang="ts"> const foo = 'foo' const bar = () => {} </script> <template> <slot :foo="foo" @bar="bar"></slot> </template>
Variable references in the generated code should be aligned with those in the template code.
Vue - Official extension or vue-tsc version
2.1.6
VSCode version
1.93.1
Vue version
3.5.7
TypeScript version
5.6.2
System Info
No response
package.json dependencies
Steps to reproduce
What is expected?
Variable references in the generated code should be aligned with those in the template code.
What is actually happening?
Link to minimal reproduction
No response
Any additional comments?
No response