Closed Enaium closed 3 months ago
This is expected. To change the behavior just remove that shim file.
This is expected. To change the behavior just remove that shim file.
This will throw "implicitly has an 'any' type" when I build the project
Not sure if 100% related, but can you try to add export{}?
Not sure if 100% related, but can you try to add export{}?
Add to the xxx.d.ts
?
Yeah probably not what i thought about, it might be the tsconfig, can you try to add "allowJs": true,
in your tsconfig.app.json
?
under compilerOptions
then remove shim.d.ts
Yeah probably not what i thought about, it might be the tsconfig, can you try to add
"allowJs": true,
in yourtsconfig.app.json
?under
compilerOptions
then removeshim.d.ts
Thanks
Vue - Official extension or vue-tsc version
v2.0.21
VSCode version
1.90.2 (user setup)
Vue version
3.4.29
TypeScript version
5.4.5
System Info
Steps to reproduce
yarn create vue
shims.d.ts
declare module '*.vue'
lang=ts
reopen vscode
Go to definition
xxx.d.ts
fileLink to minimal reproduction
No response
Any additional comments?
Go to definition will go to the from file when I go to definition by the from file.