-
Notifications
You must be signed in to change notification settings - Fork 91
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
vls configuration currently does not recognize setup+ts #82
Comments
Is there any progress? |
I ran into the same problem |
Sorry for the late response. This is vls(vetur) related feature request. According to vuejs/vetur#2296, I think it's not supported by vls now. And TypeScrpit do not support |
@fi3ework I am using |
vue-tsc in watch mode is supported since 0.4.4. Vue3 can drop VLS now. Have a try! |
First of all, this is a very powerful plug-in, thanks to the author!
But I have a problem, it would be perfect if anyone can improve it.
Scenes:(a simple demo with setup + ts)
My needs:
The following error will appear:
ERROR(VLS) Module '"xxx.vue"' has no default export
ERROR(VLS) Property 'name' does not exist on type 'unknown'.
ERROR(VLS) 'name' is declared but its value is never read.
vls configuration currently does not recognize setup+ts
but
typescript: true
can only applies to xxx.tsx in the development environment,it does not meet my needsNeed your help, Thanks!
The text was updated successfully, but these errors were encountered: