Skip to content

Add to Readme: how to use external tsc #54

Open
@dpoetzsch

Description

@dpoetzsch

It took me quite a while now to figure out you use a bundled tsc by default (with version still at 1.6).

After some searching I found a very easy flag to use an external (more recent) tsc, using the following line in a typescript.rb initializes:

TypeScript::Src.use_external_tsc = true

Maybe it would help others to add this option to the readme as it allows for so many up-to-date features? Especially, @types installed via yarn just work then ;-)

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