typescript auto import includes from node_modules
#61634
Labels
Needs More Info
The issue still hasn't been fully clarified
node_modules
#61634
Type: Bug
including from node_modules should be opt-out by default, because 99% of time you do not want to import from
node_modules
.adding exclude: ["node_modules"] in tsconfig.json doesn't work either.
neither version from, typescript
5.8.3
installed from node_modules nor5.9.0-dev.20250429
fixes this issue.VS Code version: Code - Insiders 1.100.0-insider (Universal) (ecbbe26188235072fbde7b6f4fd2a0bd6a7c9909, 2025-04-29T05:04:19.843Z)
OS version: Darwin arm64 24.1.0
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Extensions (91)
(7 theme extensions excluded)
The text was updated successfully, but these errors were encountered: