You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have written the needed data into you
Issue Type: Bug
[How do I find out which extension is causing this?]
Convert a project to a module (via package.json). Start an import and let it fill in the module name. The result is an import without ".js" which was correct until the introduction of modules that now require a .js.
While minor, it can cause a lot of confusion since the error messages about the module errors are not clear about the origin.
VS Code version: Code 1.57.0 (b4c1bd0, 2021-06-09T17:18:42.354Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No
System Info
Item
Value
CPUs
Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz (12 x 1608)
VS Code has settings that allow to force extension in your case: typescript.preferences.importModuleSpecifierEnding and javascript.preferences.importModuleSpecifierEnding.
In TS it's also valid to specify .js extension in imports of .ts file.
For improvements related to auto behavior and other code completions and support for node specific behavior it make sense to create request in TypeScript repository.
We have written the needed data into you
Issue Type: Bug
[How do I find out which extension is causing this?]
Convert a project to a module (via package.json). Start an import and let it fill in the module name. The result is an import without ".js" which was correct until the introduction of modules that now require a .js.
While minor, it can cause a lot of confusion since the error messages about the module errors are not clear about the origin.
VS Code version: Code 1.57.0 (b4c1bd0, 2021-06-09T17:18:42.354Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (52)
A/B Experiments
The text was updated successfully, but these errors were encountered: