-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
defineComponent
behaves differently in js and ts
#9296
Labels
🍰 p2-nice-to-have
Priority 2: this is not breaking anything but nice to have it addressed.
scope: types
Comments
sxzz
added
scope: types
🍰 p2-nice-to-have
Priority 2: this is not breaking anything but nice to have it addressed.
labels
Sep 30, 2023
vue2.7 has similar issue. |
There's more to this and maybe unrelated, but I've expanded your playground to show how there's inconsistencies even within the same defineComponent for js.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
🍰 p2-nice-to-have
Priority 2: this is not breaking anything but nice to have it addressed.
scope: types
Vue version
3.3.4
Link to minimal reproduction
https://play.vuejs.org/#eNrNkV9LwzAUxb9KzMs20A7Z2+wGKgP1QcUJvuSltrddZpqE5HYblH53b1JW/yB7djDae8+5t7/ktPza2mTXAJ/z1OdOWmQesLFLoWVtjUPWMgcl61jpTM1GZB0JLXRutEdW+4otgj4e3YFShr0Zp4qz0UTodNqvo0VUINRWZQhUMZZuLpdtG4e7Lp1SFbtS2wbZ7qI2BaiF4KQLTlI6Hab5OUdPny5llWy90UTdhlnBc1NbqcA9WZSEJvicRSVoGZHtH2IPXQPnx36+gfzjj/7WH0JP8GcHHtwOBB80zFwF2Mur9SMc6H0QibxR5D4hvoA3qgmMve2m0QVhf/NF2vt491JXr351QND+eKgAGpxd9AtOedyeOPoX7iyZxTmhO7rFLEFPlzdEXEApddxkNGj8EfeVcJQh/fvMg4lC/zUxbqMLrTPWBwCqAkL4UZBztkZHx+lNBE/PbjJsHmvYx8WThODeKdt/Ctd9AghhE9M=
Steps to reproduce
Just checkout
a.ts
andb.js
, then trigger autocomplete.What is expected?
What is actually happening?
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: