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
I recently ran into some problems with svelte-check using TS5.6 while my project runs on 5.7. Basically svelte-check ends up reporting false positives, not a big issue but still annoying.
I wonder if we can make it so that svelte-check always relies on the Typescript version that is already installed in the project it runs on. Maybe declaring it as a peer dependency would do this? Is there anything we can do?
The text was updated successfully, but these errors were encountered:
TypeScript is already a peer dependency of svelte-check and svelte-check has always used the local typescript version. So there shouldn't be anything stopping you from upgrading. Maybe what you meant was the language server? In that case, it's using the TypeScript version bundled with the extension. Making it load the workspace version(#1045) needs a lot of work so it won't happen anytime soon but We do plan to update to TypeScrpt 5.7(#2585)
I recently ran into some problems with svelte-check using TS5.6 while my project runs on 5.7. Basically svelte-check ends up reporting false positives, not a big issue but still annoying.
I wonder if we can make it so that svelte-check always relies on the Typescript version that is already installed in the project it runs on. Maybe declaring it as a peer dependency would do this? Is there anything we can do?
The text was updated successfully, but these errors were encountered: