-
Notifications
You must be signed in to change notification settings - Fork 12.8k
[ts] Could not find a declaration file for module in .js file (importing Vue ESM version) #24749
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
Comments
You might have better luck sharing this on StackOverflow. This is not a support forum, it is one for reporting compiler/language bugs and suggestions. |
I was told by a Microsoft employee on the vscode forum to post it here. Please see microsoft/vscode#51322 (comment) I don't want any support, I would like to know why vscode is now asking me for something it was not in the previous version. |
Might be related to (or even the same): #24781 |
Hi, I was about to file a bug on VSCode Project but I found the original by @David-Else
If I hover over the
Before the update VSCode was correctly resolving the type refs automatically and making Intellisense work like a charm. But now it's broken. Here is the
Thank you in advance for any help/hint steps to follow. |
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed. |
It seemed to fix itself in 1.24.1 |
Still a problem for me at 1.24.1 |
I was wrong, it did not fix itself in 1.24.1! Fingers crossed for 1.25!! |
Still the same, why a heck it treats .js as .ts |
We could use a repro here. The one posted by @mogarick has |
Please log a new issue with repro steps if you are able to. |
#51322 microsoft/vscode#51322 (comment)
Steps to Reproduce:
import Vue from '../node_modules/vue/dist/vue.esm.browser.js';
and get error:
As this is a .js file, I assume it is an error that I now need to supply a declaration file? This just started to happen on the same file the moment after I updated to 1.24
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: