Skip to content

TypeScript Go support (at least in CLI) #2733

Open
@notramo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions