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

ts(2307) error keeps showing in the vscode diff editor's left-side (after upgraded to 1.1.x) #2391

Closed
ecoms-ye opened this issue Feb 16, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ecoms-ye
Copy link

ecoms-ye commented Feb 16, 2023

Environment

  • Vue: 2.7.14 (from npm create vue@2)
  • Volar: 1.1.0 & 1.1.1
  • vscode: 1.75.1
  • WSL2 (ubuntu 22.04)

Description

Cannot find module 'vue' or its corresponding type declarations.ts(2307)

image

After upgraded to 1.1.x, import in .vue file would show this ts(2307) error in vscode's "Source Control" diff editor.

Expectation

Do not show ts(2307) error in the diff editor if there is no error.

Just like #2389, I think it's another display bug because the same code right-side works as usual.

@johnsoncodehk johnsoncodehk added the bug Something isn't working label Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants