TypeScript Go support (at least in CLI)
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- cli
Research direction
Start at the svelte-check CLI entry point and trace how it invokes tsc. Add a CLI or configuration option that selects tsgo tsc instead, then verify that the existing svelte-check CLI behavior remains unchanged when the option is not enabled.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 252
- Avg merge
- 8d 13h
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sveltejs/language-tools
-
bug upstream
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
sveltejs/language-tools#3099 ·
-
breaking change
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
sveltejs/language-tools#2894 · 5 comments · 10 reactions ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
sveltejs/language-tools#3123 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 65/100
sveltejs/language-tools#3120 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 76/100
sveltejs/language-tools#3118 ·
All issues in sveltejs/language-tools
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100