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

pasting emits causes strange deletions #1845

Closed
magicseth opened this issue Sep 7, 2022 · 2 comments
Closed

pasting emits causes strange deletions #1845

magicseth opened this issue Sep 7, 2022 · 2 comments

Comments

@magicseth
Copy link

If I paste this code:

const emit = defineEmits<{
    (e: "s", site: string): void;
}>();

it automatically deletes the const emit = part in a very simple vue template.

In more complex files, it ends up deleting random parts of the .vue file instead.

@sevillaarvin
Copy link

Hi, there is a similar problem with a fix here but not yet released:

#1843 (comment)

@magicseth
Copy link
Author

Yep, that fixed it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants