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
First, I feel like it should be a known issue, but I can't find it anywhere in issues or SO etc. but i refuse to believe I'm the only one who bring this app.
When I change import file I expect IDE to highlight the error - because the file does not exist. but instead there is no error about import. it reproduces with all files except ts, tsx.
Reproduce:
I think it's related to this file /node_modules/vite/client.d.ts. in there are declared modules with specific files. maybe it should be written differently? or is it just me?
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
TypeScript does not give us an easy way to do this: microsoft/TypeScript#40450
I guess it's possible to achieve this by writing a TypeScript plugin. But using a plugin has some UX issues too.
TypeScript does not give us an easy way to do this: microsoft/TypeScript#40450 I guess it's possible to achieve this by writing a TypeScript plugin. But using a plugin has some UX issues too.
so you say, that this is typescript related issue, not vite?
Describe the bug
First, I feel like it should be a known issue, but I can't find it anywhere in issues or SO etc. but i refuse to believe I'm the only one who bring this app.
When I change import file I expect IDE to highlight the error - because the file does not exist. but instead there is no error about import. it reproduces with all files except ts, tsx.
Reproduce:
I think it's related to this file
/node_modules/vite/client.d.ts
. in there are declared modules with specific files. maybe it should be written differently? or is it just me?Reproduction
https://stackblitz.com/edit/vitejs-vite-gzxywq?file=src%2Fmain.ts
Steps to reproduce
No response
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: