Skip to content

TypeScript Go support (at least in CLI) #2733

Description

@notramo

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BlockedCannot proceed until something else is resolvedupstream

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions