-
-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no error when importing non-existent .svelte
file
#1444
Comments
The problem is the declare module "*.svelte"; definition inside Svelte core, which tells TS to treat every file ending with |
Detect that an import of a .svelte file is pointing to a non-existent file by removing the ambient module definitions in svelte and svelte2tsx from the eyes of TS sveltejs#1444
is there a good reason to be using typescript without also using the plugin though? that just sounds to me like their project isn't set up correctly |
Detect that an import of a .svelte file is pointing to a non-existent file by removing the ambient module definitions in svelte and svelte2tsx from the eyes of TS #1444
Describe the bug
when a
.svelte
file doesn't exist, no error is reported bysvelte-check
or by vscodeReproduction
Logs
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: