-
-
Notifications
You must be signed in to change notification settings - Fork 413
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
Unused script setup directives #327
Comments
I can't reproduce, please provide a repro case by https://github.com/johnsoncodehk/volar-starter. |
@johnsoncodehk do you have TS option Which looks like this in my VS Code: TS 4.3.5 |
This use case is not yet support in volar, I don't know how this working currently. I will check it, if you can provide more use cases I can resolve it earlier. (I need to confirm how should type-checking working in directives expression.) |
I'm sorry, I don't think I can help more than that. |
I did not use this before so I can't say. I will check it. |
Volar doesn't seem to be aware that imported directives inside script-setup are used in template.
(Maybe it's because the final version of script setup was changed to require a
v
prefix to local directives?)The text was updated successfully, but these errors were encountered: