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
The new Go implementation is a lot faster (10 times faster in some projects), and uses ~half the memory as the JS implementation.
It seems that this new version has enough features for a fast CLI svelte-check command. LSP support is lacking at the moment, but an optional svelte-check config option would be really useful.
Proposed solution
Add a command line option to svelte-check that enables the use of tsgo tsc … instead of tsc.
Alternatives
None. This seems a quite simple change, with the most obvious solution being a CLI option. Other solutions seem a lot more complicated.
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered:
No. It's not a simple change. svelte-check does not call tsc by the command. It used low-level typescript API that is about to be rewritten in typescript go. This is definitely on the radar but not anytime soon.
Description
JSX support has been recently implemented in the Go implementation of TypeScript.
The new Go implementation is a lot faster (10 times faster in some projects), and uses ~half the memory as the JS implementation.
It seems that this new version has enough features for a fast CLI
svelte-check
command. LSP support is lacking at the moment, but an optionalsvelte-check
config option would be really useful.Proposed solution
Add a command line option to
svelte-check
that enables the use oftsgo tsc …
instead oftsc
.Alternatives
None. This seems a quite simple change, with the most obvious solution being a CLI option. Other solutions seem a lot more complicated.
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered: