-
-
Notifications
You must be signed in to change notification settings - Fork 596
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
Literal String Union Autocomplete now working inside .vue file #2300
Comments
I cannot recall why I made this change. I'll revert it for now. If I do encounter the bug I'll fix it again... |
@octref Have you been able to fix it without giving unwanted completion ? |
I forgot to reopen. |
@octref any news on this ? |
Info
Problem
Autocomplete for string literal union type not working inside .vue file (with
<script lang="ts">
). But working just fine inside .ts file.Working nice in test.ts

No autocomplete, only information in test.vue

Reproducible Case
Declare any kind of type with string literal union type.
Expected: Give autocomplete just as in a .ts file.
Reality: No autocomplete in .vue file
Note: I'm not really sure where to post this: vue, vetur or vscode. And i also not really sure whether this should be a bug report or feature request. But since in the vetur doc they said that
The text was updated successfully, but these errors were encountered: