-
-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vue-tsc errors after updating to Typescript v5.5.2 #4487
Comments
Confirmed, there is an issue with Issues
Steps to reproduce
App.vue <template>
<HelloWorld msg="asdf" />
</template>
<script setup lang="ts">
import HelloWorld from './HelloWorld.vue'
</script> HelloWorld.vue <script setup lang="ts" >
defineProps<{ msg: string }>()
</script>
<template>
<div></div>
</template> WorkaroundMake sure to pin your typescript dependency to |
UPD: yeah, when change VS Code version of typescript to workspace v5.5.2, error shows in editor too Maybe this is somehow related to: microsoft/TypeScript#58960 |
True, please pin typescript to v5.4 for now |
Vue - Official extension or vue-tsc version
2.0.21
VSCode version
1.90.2
Vue version
3.4.29
TypeScript version
5.5.2
System Info
Steps to reproduce
defineEmits stopped typing after updating to typescript v5.5.2
I think just create component with defineEmits and you must see an issue.
Link to minimal reproduction
No response
Any additional comments?
Interesting that inside VSCode defineEmits are shown by Vue Official (version v2.1.0-insiders.13) 🤔
Component is shadcn-vue PinInput
Error only received after
vue-tsc --noEmit
script running onsimple-git-hooks
pre-commitWhen making reproduction everything works fine with simple components, maybe issue inside Radix library, I don't know 🫠
The text was updated successfully, but these errors were encountered: