Skip to content
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

Open
so1ve opened this issue Sep 26, 2023 · 2 comments
Open

defineComponent behaves differently in js and ts #9296

so1ve opened this issue Sep 26, 2023 · 2 comments
Assignees
Labels
🍰 p2-nice-to-have Priority 2: this is not breaking anything but nice to have it addressed. scope: types

Comments

@so1ve
Copy link
Member

so1ve commented Sep 26, 2023

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 and b.js, then trigger autocomplete.

What is expected?

image

What is actually happening?

image

System Info

No response

Any additional comments?

No response

@sxzz 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
@pikax pikax self-assigned this Nov 29, 2023
@zcf0508
Copy link

zcf0508 commented Dec 18, 2023

vuejs/vue#13063

vue2.7 has similar issue.

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
Projects
None yet
Development

No branches or pull requests

5 participants