I have this setup
repo
When I starting VS Code after dependencies installed, it create directory with autoimported types right in the root of the project
but when i run the project
i got another autoimported types in the directory src/types
And for some reason autoimport for createRouter from vue-router happened in the types/auto-import.d.ts, not in the src/type
s/autoimport.d.ts, so I should import createRouter manually from 'vue-router'.
My setup is intended auto imported types to be in src/types, not in types in the root of the project.
Is it a bug or I have something wrong with my setup/ VS Code settings/extensions?
Reproduction
get the repo provided, open it in VS Code, install deps with pnpm i, then restart VS Code - you will see types dir in the root of the project, then run pnpm dev and you will see autoimported types in src/types folder too
Describe the bug
I have this setup repo When I starting VS Code after dependencies installed, it create directory with autoimported types right in the root of the project but when i run the project i got another autoimported types in the directory src/types And for some reason autoimport for createRouter from vue-router happened in the types/auto-import.d.ts, not in the src/type s/autoimport.d.ts, so I should import createRouter manually from 'vue-router'. My setup is intended auto imported types to be in src/types, not in types in the root of the project. Is it a bug or I have something wrong with my setup/ VS Code settings/extensions?
Reproduction
get the repo provided, open it in VS Code, install deps with pnpm i, then restart VS Code - you will see types dir in the root of the project, then run pnpm dev and you will see autoimported types in src/types folder too
System Info
Used Package Manager
pnpm
Validations