chore: move typescript
to svelte-check
's peer dependency
#1860
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It is kinda debatable but I feel that it's better to use the installed version of
typescript
. I just had to go through a surprising debugging session since my IDE was using TypeScript 4.8 butsvelte-check
was using TypeScript 4.5 (I had an old version that had the*
range declared on typescript and TS 4.5 was left in the lockfile from before the rest of the monorepo bumped TS to TS 4.8.I understand that this might create a different problem though - now the
svelte-check
might run with a different version of TS than the VS Code extension. However, this isn't a new problem - it already exists.