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
Take Over Mode not working properly - TS Errors without Take Over #1169
Comments
@ragokan For projects created with If "Take Over Mode" is enabled, conversely, delete this "shim" addition. Example: /// <reference types="vite/client" />
declare module "*.vue" {
import type { DefineComponent } from "vue";
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
const component: DefineComponent<{}, {}, any>;
export default component;
} |
Oh, thanks. This solves without take over mode usage. Still I don't know how to fix them with take over mode. Please see to the video: |
Do you have |
Yes, I do. It is not my first project, too. |
See here. Have you disabled |
Yes, I did. |
If you want, you can connect my computer or vscode live share. |
I can't reproduce it in my environment. The only other thing I can think of is to restart VSCode. I can't reproduce it, so I have no further advice... :( |
1- Most of quick fix options does not work on TS files.
2- Suggestions does not show right props.
This video is recorded on initial project that is created with
npm init vue@latest
https://user-images.githubusercontent.com/63511519/162743102-70c8e8f6-4ab5-45ba-a241-c28842efc391.mov
When I disable Take Over mode, even in the initial beginning project, I get these errors;
Basically Vue TS does not recognize the .Vue files.
The text was updated successfully, but these errors were encountered: