-
Notifications
You must be signed in to change notification settings - Fork 767
Description
Type: Bug
When using the typescript-go plugin, module resolution fails in Vue projects with the error: "Cannot find module './App.vue' or its corresponding type declarations." The issue disappears when disabling this plugin and using VSCode's native TypeScript support.
Reproduction Steps
Create a new Vue + TypeScript project using:
pnpm create vite my-vue-app --template vue-tsInstall and enable the typescript-go plugin
Open any .ts or .vue file in the project
Observe the error in the editor:
Cannot find module './App.vue' or its corresponding type declarations.
Additionally, @/** path alias resolution also fails
Environment Information
VSCode: Latest version (fresh installation)
Plugin: typescript-go
Project Type: Vue 3 + TypeScript (Vite template)
Package Manager: pnpm
Additional Context
VSCode configuration and cache issues have been ruled out (tested with fresh installation)
Issue only occurs with typescript-go plugin enabled
Native TypeScript support works correctly
Currently only observed in Vue projects
Expected Behavior
The typescript-go plugin should properly handle module resolution in Vue projects, including:
Type declaration resolution for .vue files
Correct resolution of @/** path aliases
Extension version: 0.20251216.1
VS Code version: Code 1.107.0 (618725e67565b290ba4da6fe2d29f8fa1d4e3622, 2025-12-10T07:43:47.883Z)
OS version: Darwin arm64 24.6.0
Modes:
System Info
| Item | Value |
|---|---|
| CPUs | Apple M4 (10 x 2400) |
| GPU Status | 2d_canvas: enabled 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: enabled_on trees_in_viz: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | 2, 2, 2 |
| Memory (System) | 16.00GB (0.66GB free) |
| Process Argv | --crash-reporter-id 8fb52b23-cbfa-4a18-818d-75d9a3caf102 --crash-reporter-id 8fb52b23-cbfa-4a18-818d-75d9a3caf102 |
| Screen Reader | no |
| VM | 0% |
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31435802
aj953862:31281341
4f60g487:31327383
6abeh943:31336334
cloudbuttont:31379625
todos-1:31405332
3efgi100_wstrepl:31403338
trigger-command-fix:31379601
use-responses-api:31390855
d5i5i512:31428709
ec5jj548:31422691
terminalsuggestenabled:31431119
cp_cls_t_966_ss:31435506
c0683394:31419495
478ah919:31426797
a5gib710:31434435
7a04d226_do_not_restore_last_panel_session:31434268
anthropic_thinking_t:31432745
avoid_auto_enablement:31433305
cp_cls_c_1081:31433293