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 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
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-checkcommand. LSP support is lacking at the moment, but an optionalsvelte-checkconfig option would be really useful.Proposed solution
Add a command line option to
svelte-checkthat 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